提交 2ec40934 编写于 作者: B Benjamin Pasero

web - change defaults for menu on mac

上级 3456ef3a
...@@ -289,14 +289,14 @@ import { isMacintosh, isWindows, isLinux, isWeb } from 'vs/base/common/platform' ...@@ -289,14 +289,14 @@ import { isMacintosh, isWindows, isLinux, isWeb } from 'vs/base/common/platform'
}, },
'window.enableMenuBarMnemonics': { 'window.enableMenuBarMnemonics': {
'type': 'boolean', 'type': 'boolean',
'default': true, 'default': !isMacintosh,
'scope': ConfigurationScope.APPLICATION, 'scope': ConfigurationScope.APPLICATION,
'description': nls.localize('enableMenuBarMnemonics', "Controls whether the main menus can be opened via Alt-key shortcuts. Disabling mnemonics allows to bind these Alt-key shortcuts to editor commands instead."), 'description': nls.localize('enableMenuBarMnemonics', "Controls whether the main menus can be opened via Alt-key shortcuts. Disabling mnemonics allows to bind these Alt-key shortcuts to editor commands instead."),
'included': isWindows || isLinux 'included': isWindows || isLinux || isWeb
}, },
'window.customMenuBarAltFocus': { 'window.customMenuBarAltFocus': {
'type': 'boolean', 'type': 'boolean',
'default': true, 'default': !isMacintosh,
'scope': ConfigurationScope.APPLICATION, 'scope': ConfigurationScope.APPLICATION,
'markdownDescription': nls.localize('customMenuBarAltFocus', "Controls whether the menu bar will be focused by pressing the Alt-key. This setting has no effect on toggling the menu bar with the Alt-key."), 'markdownDescription': nls.localize('customMenuBarAltFocus', "Controls whether the menu bar will be focused by pressing the Alt-key. This setting has no effect on toggling the menu bar with the Alt-key."),
'included': isWindows || isLinux || isWeb 'included': isWindows || isLinux || isWeb
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册