@@ -11,7 +11,7 @@ import { SyncActionDescriptor, MenuRegistry, MenuId } from 'vs/platform/actions/
1111import { Registry } from 'vs/platform/registry/common/platform' ;
1212import { KeyCode , KeyMod } from 'vs/base/common/keyCodes' ;
1313import { IsFullscreenContext } from 'vs/workbench/browser/contextkeys' ;
14- import { IsMacNativeContext , IsDevelopmentContext } from 'vs/platform/contextkey/common/contextkeys' ;
14+ import { IsMacNativeContext , IsDevelopmentContext , IsWebContext } from 'vs/platform/contextkey/common/contextkeys' ;
1515import { IWorkbenchActionRegistry , Extensions } from 'vs/workbench/common/actions' ;
1616import { KeybindingsRegistry , KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry' ;
1717import { IQuickInputButton , IQuickInputService , IQuickPickSeparator , IKeyMods , IQuickPickItem } from 'vs/platform/quickinput/common/quickInput' ;
@@ -345,7 +345,7 @@ const viewCategory = nls.localize('view', "View");
345345registry . registerWorkbenchAction ( SyncActionDescriptor . from ( ToggleFullScreenAction , { primary : KeyCode . F11 , mac : { primary : KeyMod . CtrlCmd | KeyMod . WinCtrl | KeyCode . KEY_F } } ) , 'View: Toggle Full Screen' , viewCategory ) ;
346346
347347const developerCategory = nls . localize ( { key : 'developer' , comment : [ 'A developer on Code itself or someone diagnosing issues in Code' ] } , "Developer" ) ;
348- registry . registerWorkbenchAction ( SyncActionDescriptor . from ( ReloadWindowAction ) , 'Developer: Reload Window' , developerCategory ) ;
348+ registry . registerWorkbenchAction ( SyncActionDescriptor . from ( ReloadWindowAction ) , 'Developer: Reload Window' , developerCategory , IsWebContext . toNegated ( ) ) ;
349349
350350const helpCategory = nls . localize ( 'help' , "Help" ) ;
351351registry . registerWorkbenchAction ( SyncActionDescriptor . from ( ShowAboutDialogAction ) , `Help: About` , helpCategory ) ;
0 commit comments