提交 ad3355ca 编写于 作者: J Johannes Rieken

refine message about alt-command, #8435

上级 c6509854
...@@ -263,8 +263,8 @@ ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: IDeclaredMenuItem[] } ...@@ -263,8 +263,8 @@ ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: IDeclaredMenuItem[] }
collector.info(localize('dupe.command', "Menu item references the same command as default and alt-command")); collector.info(localize('dupe.command', "Menu item references the same command as default and alt-command"));
} }
if (item.alt && menu !== MenuId.EditorTitle) { if (item.alt && menu !== MenuId.EditorTitle && item.group !== 'navigation') {
collector.info(localize('nosupport.altCommand', "Sorry, but currently only 'editor/title' supports alt-commands")); collector.info(localize('nosupport.altCommand', "Sorry, but currently only the 'navigation' group of the 'editor/title' menu supports alt-commands"));
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册