File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
arduino-ide-extension/src/browser/contributions Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
14
14
} from './contribution' ;
15
15
import { nls } from '@theia/core/lib/common' ;
16
16
import { IDEUpdaterCommands } from '../ide-updater/ide-updater-commands' ;
17
+ import { ElectronCommands } from '@theia/core/lib/electron-browser/menu/electron-menu-contribution' ;
17
18
18
19
@injectable ( )
19
20
export class Help extends Contribution {
@@ -87,6 +88,10 @@ export class Help extends Contribution {
87
88
}
88
89
89
90
registerMenus ( registry : MenuModelRegistry ) : void {
91
+ registry . unregisterMenuAction ( {
92
+ commandId : ElectronCommands . TOGGLE_DEVELOPER_TOOLS . id ,
93
+ } ) ;
94
+
90
95
registry . registerMenuAction ( ArduinoMenus . HELP__MAIN_GROUP , {
91
96
commandId : Help . Commands . GETTING_STARTED . id ,
92
97
order : '0' ,
You can’t perform that action at this time.
0 commit comments