Skip to content

Commit

Permalink
Rename VSCode extension command ID (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx authored Mar 23, 2023
1 parent f81580f commit a0279d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vscode-stlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"contributes": {
"commands": [
{
"command": "vscode-stlite.start",
"command": "stlite.start",
"title": "Launch stlite preview"
}
]
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-stlite/src/web/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function activate(context: vscode.ExtensionContext) {
let panelInitializedPromise = new PromiseDelegate<void>();

context.subscriptions.push(
vscode.commands.registerCommand("vscode-stlite.start", () => {
vscode.commands.registerCommand("stlite.start", () => {
const columnToShowIn = vscode.window.activeTextEditor
? vscode.window.activeTextEditor.viewColumn
: undefined;
Expand Down

0 comments on commit a0279d1

Please sign in to comment.