From c7a040ae701f905ee74744dc85b0f26eb3a7df36 Mon Sep 17 00:00:00 2001 From: Megan Rogge Date: Thu, 16 Feb 2023 14:02:31 -0600 Subject: [PATCH] use correct `title` type so `Toggle Tab Moves Focus Mode` shows up in the command palette (#174610) fix #174450 --- .../contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts index 6feef76d443..6d9f2a8c6a1 100644 --- a/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts +++ b/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.ts @@ -18,13 +18,14 @@ export class ToggleTabFocusModeAction extends Action2 { constructor() { super({ id: ToggleTabFocusModeAction.ID, - title: nls.localize({ key: 'toggle.tabMovesFocus', comment: ['Turn on/off use of tab key for moving focus around VS Code'] }, "Toggle Tab Key Moves Focus"), + title: { value: nls.localize({ key: 'toggle.tabMovesFocus', comment: ['Turn on/off use of tab key for moving focus around VS Code'] }, 'Toggle Tab Key Moves Focus'), original: 'Toggle Tab Key Moves Focus' }, precondition: undefined, keybinding: { primary: KeyMod.CtrlCmd | KeyCode.KeyM, mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KeyM }, weight: KeybindingWeight.EditorContrib - } + }, + f1: true }); }