]> Git Repo - pico-vscode.git/blob - src/commands/newExampleProject.mts
Fix compile project concurrency
[pico-vscode.git] / src / commands / newExampleProject.mts
1 import { Command } from "./command.mjs";
2 import Logger from "../logger.mjs";
3 import { type Uri } from "vscode";
4 import { NewProjectPanel } from "../webview/newProjectPanel.mjs";
5
6 export default class NewExampleProjectCommand extends Command {
7   private _logger: Logger = new Logger("NewExampleProjectCommand");
8
9   public static readonly id = "newExampleProject";
10
11   constructor(private readonly _extensionUri: Uri) {
12     super(NewExampleProjectCommand.id);
13   }
14
15   execute(): void {
16     // show webview where the process of creating a new project is continued
17     NewProjectPanel.createOrShow(this._extensionUri, false, true);
18   }
19 }
This page took 0.02385 seconds and 4 git commands to generate.