Skip to content

Commit e63a59b

Browse files
committed
fix #113, removed colons from command names
1 parent 226a1f8 commit e63a59b

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,22 @@
178178
"category": "Jupyter"
179179
},
180180
{
181-
"command": "jupyter:execCurrentCell",
181+
"command": "jupyter.execCurrentCell",
182182
"title": "Run Cell",
183183
"category": "Jupyter"
184184
},
185185
{
186-
"command": "jupyter:execCurrentCellAndAdvance",
186+
"command": "jupyter.execCurrentCellAndAdvance",
187187
"title": "Run Cell and Advance",
188188
"category": "Jupyter"
189189
},
190190
{
191-
"command": "jupyter:gotToPreviousCell",
191+
"command": "jupyter.gotToPreviousCell",
192192
"title": "Go to Previous Cell",
193193
"category": "Jupyter"
194194
},
195195
{
196-
"command": "jupyter:gotToNextCell",
196+
"command": "jupyter.gotToNextCell",
197197
"title": "Go to Next Cell",
198198
"category": "Jupyter"
199199
},

src/client/common/constants.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@ export namespace Commands {
2626
export const Build_Workspace_Symbols = 'python.buildWorkspaceSymbols';
2727
export const Start_REPL = 'python.startREPL';
2828
export namespace Jupyter {
29-
export const Get_All_KernelSpecs_For_Language = 'jupyter:getAllKernelSpecsForLanguage';
30-
export const Get_All_KernelSpecs = 'jupyter:getAllKernelSpecs';
31-
export const Select_Kernel = 'jupyter:selectKernel';
32-
export const Kernel_Options = 'jupyter:kernelOptions';
33-
export const StartKernelForKernelSpeck = 'jupyter:sartKernelForKernelSpecs';
34-
export const ExecuteRangeInKernel = 'jupyter:execRangeInKernel';
29+
export const Get_All_KernelSpecs_For_Language = 'jupyter.getAllKernelSpecsForLanguage';
30+
export const Get_All_KernelSpecs = 'jupyter.getAllKernelSpecs';
31+
export const Select_Kernel = 'jupyter.selectKernel';
32+
export const Kernel_Options = 'jupyter.kernelOptions';
33+
export const StartKernelForKernelSpeck = 'jupyter.sartKernelForKernelSpecs';
34+
export const ExecuteRangeInKernel = 'jupyter.execRangeInKernel';
3535
export const ExecuteSelectionOrLineInKernel = 'jupyter.runSelectionLine';
3636
export namespace Cell {
37-
export const ExecuteCurrentCell = 'jupyter:execCurrentCell';
38-
export const ExecuteCurrentCellAndAdvance = 'jupyter:execCurrentCellAndAdvance';
39-
export const AdcanceToCell = 'jupyter:advanceToNextCell';
40-
export const DisplayCellMenu = 'jupyter:displayCellMenu';
41-
export const GoToPreviousCell = 'jupyter:gotToPreviousCell';
42-
export const GoToNextCell = 'jupyter:gotToNextCell';
37+
export const ExecuteCurrentCell = 'jupyter.execCurrentCell';
38+
export const ExecuteCurrentCellAndAdvance = 'jupyter.execCurrentCellAndAdvance';
39+
export const AdcanceToCell = 'jupyter.advanceToNextCell';
40+
export const DisplayCellMenu = 'jupyter.displayCellMenu';
41+
export const GoToPreviousCell = 'jupyter.gotToPreviousCell';
42+
export const GoToNextCell = 'jupyter.gotToNextCell';
4343
}
4444
export namespace Kernel {
45-
export const Kernel_Interrupt = 'jupyter:kernelInterrupt';
46-
export const Kernel_Restart = 'jupyter:kernelRestart';
47-
export const Kernel_Shut_Down = 'jupyter:kernelShutDown';
48-
export const Kernel_Details = 'jupyter:kernelDetails';
45+
export const Kernel_Interrupt = 'jupyter.kernelInterrupt';
46+
export const Kernel_Restart = 'jupyter.kernelRestart';
47+
export const Kernel_Shut_Down = 'jupyter.kernelShutDown';
48+
export const Kernel_Details = 'jupyter.kernelDetails';
4949
}
5050
}
5151
}

src/client/jupyter/display/kernelStatus.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export class KernelStatus extends vscode.Disposable {
1010
super(() => { });
1111
this.disposables = [];
1212
this.statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left);
13-
this.statusBar.command = 'jupyter:proxyKernelOptionsCmd';
13+
this.statusBar.command = 'jupyter.proxyKernelOptionsCmd';
1414
this.disposables.push(this.statusBar);
15-
this.disposables.push(vscode.commands.registerCommand('jupyter:proxyKernelOptionsCmd', () => {
15+
this.disposables.push(vscode.commands.registerCommand('jupyter.proxyKernelOptionsCmd', () => {
1616
vscode.commands.executeCommand(Commands.Jupyter.Kernel_Options, this.activeKernalDetails);
1717
}));
1818

0 commit comments

Comments
 (0)