File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
arduino-ide-extension/src/browser/contributions Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1- import { MenuModelRegistry } from '@theia/core' ;
1+ import { MenuModelRegistry } from '@theia/core/lib/common/menu' ;
2+ import { KeybindingRegistry } from '@theia/core/lib/browser/keybinding' ;
23import { CompositeTreeNode } from '@theia/core/lib/browser/tree' ;
34import { DisposableCollection } from '@theia/core/lib/common/disposable' ;
45import { nls } from '@theia/core/lib/common/nls' ;
@@ -80,6 +81,13 @@ export class NewCloudSketch extends Contribution {
8081 } ) ;
8182 }
8283
84+ override registerKeybindings ( registry : KeybindingRegistry ) : void {
85+ registry . registerKeybinding ( {
86+ command : NewCloudSketch . Commands . NEW_CLOUD_SKETCH . id ,
87+ keybinding : 'CtrlCmd+Alt+N' ,
88+ } ) ;
89+ }
90+
8391 private async createNewSketch (
8492 initialValue ?: string | undefined
8593 ) : Promise < URI | undefined > {
You can’t perform that action at this time.
0 commit comments