@@ -42,8 +42,9 @@ define(function (require, exports, module) {
4242 CMD_TOGGLE_PANELS = "view.togglePanels" ;
4343
4444 //key binding keys
45- const togglePureCodeKey = "Ctrl-Shift-2" ,
46- togglePureCodeKeyMac = "Cmd-Shift-2" ,
45+ const togglePureCodeKey = "Shift-F11" ,
46+ toggleFullScreenKey = "F11" ,
47+ toggleFullScreenKeyMac = "Cmd-F11" ,
4748 togglePanelsKey = "Ctrl-Shift-1" ,
4849 togglePanelsKeyMac = "Cmd-Shift-1" ,
4950 togglePanelsKey_EN = "Ctrl-Shift-`" ,
@@ -151,10 +152,8 @@ define(function (require, exports, module) {
151152 CommandManager . register ( Strings . CMD_TOGGLE_PANELS , CMD_TOGGLE_PANELS , _togglePanels ) ;
152153
153154 Menus . getMenu ( Menus . AppMenuBar . VIEW_MENU ) . addMenuItem ( CMD_TOGGLE_PANELS , "" , Menus . AFTER , Commands . VIEW_HIDE_SIDEBAR ) ;
154- Menus . getMenu ( Menus . AppMenuBar . VIEW_MENU ) . addMenuItem ( CMD_TOGGLE_PURE_CODE , "" , Menus . AFTER , CMD_TOGGLE_PANELS ) ;
155- Menus . getMenu ( Menus . AppMenuBar . VIEW_MENU ) . addMenuItem ( CMD_TOGGLE_FULLSCREEN , "F11" , Menus . AFTER , CMD_TOGGLE_PURE_CODE ) ;
156-
157- KeyBindingManager . addBinding ( CMD_TOGGLE_PURE_CODE , [ { key : togglePureCodeKey } , { key : togglePureCodeKeyMac , platform : "mac" } ] ) ;
155+ Menus . getMenu ( Menus . AppMenuBar . VIEW_MENU ) . addMenuItem ( CMD_TOGGLE_PURE_CODE , togglePureCodeKey , Menus . AFTER , CMD_TOGGLE_PANELS ) ;
156+ Menus . getMenu ( Menus . AppMenuBar . VIEW_MENU ) . addMenuItem ( CMD_TOGGLE_FULLSCREEN , [ { key : toggleFullScreenKey } , { key : toggleFullScreenKeyMac , platform : "mac" } ] , Menus . AFTER , CMD_TOGGLE_PURE_CODE ) ;
158157
159158 //default toggle panel shortcut was ctrl+shift+` as it is present in one vertical line in the keyboard. However, we later learnt
160159 //from IQE team than non-English keyboards does not have the ` char. So added one more shortcut ctrl+shift+1 which will be preferred
0 commit comments