Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions _extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@
"enablement": "typescript.native-preview.serverRunning",
"category": "TypeScript Native Preview"
},
{
"command": "typescript.native-preview.selectVersion",
"title": "Select TypeScript Version...",
"enablement": "typescript.native-preview.serverRunning",
"category": "TypeScript Native Preview"
},
{
"command": "typescript.native-preview.goToSourceDefinition",
"title": "Go to Source Definition",
Expand Down
4 changes: 2 additions & 2 deletions _extension/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class Session implements vscode.Disposable {
this.traceOutputChannel.show();
}));

this.disposables.push(vscode.commands.registerCommand("typescript.selectTypeScriptVersion", async () => {
this.disposables.push(vscode.commands.registerCommand("typescript.native-preview.selectVersion", async () => {
await promptSelectVersion(this.context, this.client, this.outputChannel);
}));

Expand Down Expand Up @@ -291,7 +291,7 @@ async function showCommands(client: Client): Promise<void> {
{
label: "$(versions) Select Version",
description: "Choose between bundled and workspace versions",
command: "typescript.selectTypeScriptVersion",
command: "typescript.native-preview.selectVersion",
},
{
label: "$(stop-circle) Disable TypeScript Native Preview",
Expand Down
Loading