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 {
1414} from './contribution' ;
1515import { nls } from '@theia/core/lib/common' ;
1616import { IDEUpdaterCommands } from '../ide-updater/ide-updater-commands' ;
17+ import { ElectronCommands } from '@theia/core/lib/electron-browser/menu/electron-menu-contribution' ;
1718
1819@injectable ( )
1920export class Help extends Contribution {
@@ -87,6 +88,10 @@ export class Help extends Contribution {
8788 }
8889
8990 registerMenus ( registry : MenuModelRegistry ) : void {
91+ registry . unregisterMenuAction ( {
92+ commandId : ElectronCommands . TOGGLE_DEVELOPER_TOOLS . id ,
93+ } ) ;
94+
9095 registry . registerMenuAction ( ArduinoMenus . HELP__MAIN_GROUP , {
9196 commandId : Help . Commands . GETTING_STARTED . id ,
9297 order : '0' ,
You can’t perform that action at this time.
0 commit comments