diff --git a/src/vs/code/electron-main/menus.ts b/src/vs/code/electron-main/menus.ts index 481bf0457a2..ebf7e362782 100644 --- a/src/vs/code/electron-main/menus.ts +++ b/src/vs/code/electron-main/menus.ts @@ -1064,11 +1064,11 @@ export class VSCodeMenu { // the keybinding is not native so we cannot show it as part of the accelerator of // the menu item. we fallback to a different strategy so that we always display it else { - const bindingIndex = options.label.indexOf('〔'); + const bindingIndex = options.label.indexOf('('); if (bindingIndex >= 0) { - options.label = `${options.label.substr(0, bindingIndex)} 〔${binding.label}〕`; + options.label = `${options.label.substr(0, bindingIndex)} (${binding.label})`; } else { - options.label = `${options.label} 〔${binding.label}〕`; + options.label = `${options.label} (${binding.label})`; } } } diff --git a/src/vs/workbench/services/contextview/electron-browser/contextmenuService.ts b/src/vs/workbench/services/contextview/electron-browser/contextmenuService.ts index 14f5f9c37fa..88b205a9d3c 100644 --- a/src/vs/workbench/services/contextview/electron-browser/contextmenuService.ts +++ b/src/vs/workbench/services/contextview/electron-browser/contextmenuService.ts @@ -94,7 +94,7 @@ export class ContextMenuService implements IContextMenuService { } else { const label = this.keybindingService.getLabelFor(keybinding); if (label) { - options.label = `${options.label} 〔${label}〕`; + options.label = `${options.label} (${label})`; } } }