forked from microsoft/vscode-python-environments
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewPackageProject.ts
More file actions
18 lines (15 loc) · 825 Bytes
/
newPackageProject.ts
File metadata and controls
18 lines (15 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { MarkdownString, window } from 'vscode';
import { PythonProject, PythonProjectCreator, PythonProjectCreatorOptions } from '../../api';
// import { runInBackground } from '../execution/runInBackground';
export class NewPackageProject implements PythonProjectCreator {
public readonly name = 'newPackage';
public readonly displayName = 'Package';
public readonly description = 'Create a new Python package';
public readonly tooltip = new MarkdownString('Create a new Python package');
constructor() {}
async create(_options?: PythonProjectCreatorOptions): Promise<PythonProject | undefined> {
// show notification that the package creation was selected than return undefined
window.showInformationMessage('Creating a new Python package...');
return undefined;
}
}