Skip to content

Commit

Permalink
fix #113, removed colons from command names
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Feb 3, 2017
1 parent 226a1f8 commit e63a59b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,22 +178,22 @@
"category": "Jupyter"
},
{
"command": "jupyter:execCurrentCell",
"command": "jupyter.execCurrentCell",
"title": "Run Cell",
"category": "Jupyter"
},
{
"command": "jupyter:execCurrentCellAndAdvance",
"command": "jupyter.execCurrentCellAndAdvance",
"title": "Run Cell and Advance",
"category": "Jupyter"
},
{
"command": "jupyter:gotToPreviousCell",
"command": "jupyter.gotToPreviousCell",
"title": "Go to Previous Cell",
"category": "Jupyter"
},
{
"command": "jupyter:gotToNextCell",
"command": "jupyter.gotToNextCell",
"title": "Go to Next Cell",
"category": "Jupyter"
},
Expand Down
32 changes: 16 additions & 16 deletions src/client/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,26 @@ export namespace Commands {
export const Build_Workspace_Symbols = 'python.buildWorkspaceSymbols';
export const Start_REPL = 'python.startREPL';
export namespace Jupyter {
export const Get_All_KernelSpecs_For_Language = 'jupyter:getAllKernelSpecsForLanguage';
export const Get_All_KernelSpecs = 'jupyter:getAllKernelSpecs';
export const Select_Kernel = 'jupyter:selectKernel';
export const Kernel_Options = 'jupyter:kernelOptions';
export const StartKernelForKernelSpeck = 'jupyter:sartKernelForKernelSpecs';
export const ExecuteRangeInKernel = 'jupyter:execRangeInKernel';
export const Get_All_KernelSpecs_For_Language = 'jupyter.getAllKernelSpecsForLanguage';
export const Get_All_KernelSpecs = 'jupyter.getAllKernelSpecs';
export const Select_Kernel = 'jupyter.selectKernel';
export const Kernel_Options = 'jupyter.kernelOptions';
export const StartKernelForKernelSpeck = 'jupyter.sartKernelForKernelSpecs';
export const ExecuteRangeInKernel = 'jupyter.execRangeInKernel';
export const ExecuteSelectionOrLineInKernel = 'jupyter.runSelectionLine';
export namespace Cell {
export const ExecuteCurrentCell = 'jupyter:execCurrentCell';
export const ExecuteCurrentCellAndAdvance = 'jupyter:execCurrentCellAndAdvance';
export const AdcanceToCell = 'jupyter:advanceToNextCell';
export const DisplayCellMenu = 'jupyter:displayCellMenu';
export const GoToPreviousCell = 'jupyter:gotToPreviousCell';
export const GoToNextCell = 'jupyter:gotToNextCell';
export const ExecuteCurrentCell = 'jupyter.execCurrentCell';
export const ExecuteCurrentCellAndAdvance = 'jupyter.execCurrentCellAndAdvance';
export const AdcanceToCell = 'jupyter.advanceToNextCell';
export const DisplayCellMenu = 'jupyter.displayCellMenu';
export const GoToPreviousCell = 'jupyter.gotToPreviousCell';
export const GoToNextCell = 'jupyter.gotToNextCell';
}
export namespace Kernel {
export const Kernel_Interrupt = 'jupyter:kernelInterrupt';
export const Kernel_Restart = 'jupyter:kernelRestart';
export const Kernel_Shut_Down = 'jupyter:kernelShutDown';
export const Kernel_Details = 'jupyter:kernelDetails';
export const Kernel_Interrupt = 'jupyter.kernelInterrupt';
export const Kernel_Restart = 'jupyter.kernelRestart';
export const Kernel_Shut_Down = 'jupyter.kernelShutDown';
export const Kernel_Details = 'jupyter.kernelDetails';
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/client/jupyter/display/kernelStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export class KernelStatus extends vscode.Disposable {
super(() => { });
this.disposables = [];
this.statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left);
this.statusBar.command = 'jupyter:proxyKernelOptionsCmd';
this.statusBar.command = 'jupyter.proxyKernelOptionsCmd';
this.disposables.push(this.statusBar);
this.disposables.push(vscode.commands.registerCommand('jupyter:proxyKernelOptionsCmd', () => {
this.disposables.push(vscode.commands.registerCommand('jupyter.proxyKernelOptionsCmd', () => {
vscode.commands.executeCommand(Commands.Jupyter.Kernel_Options, this.activeKernalDetails);
}));

Expand Down

0 comments on commit e63a59b

Please sign in to comment.