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