]> Git Repo - pico-vscode.git/blob - src/commands/importProject.mts
Fix compile project concurrency
[pico-vscode.git] / src / commands / importProject.mts
1 import { CommandWithArgs } 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 ImportProjectCommand extends CommandWithArgs {
7   private _logger: Logger = new Logger("ImportProjectCommand");
8
9   public static readonly id = "importProject";
10
11   constructor(private readonly _extensionUri: Uri) {
12     super(ImportProjectCommand.id);
13   }
14
15   execute(projectUri?: Uri): void {
16     // show webview where the process of creating a new project is continued
17     NewProjectPanel.createOrShow(this._extensionUri, true, false, projectUri);
18   }
19 }
This page took 0.026944 seconds and 4 git commands to generate.