Skip to content

Commit 111a4cd

Browse files
authored
fix: duplicate command palette in editor context menu (#243)
1 parent 16be69c commit 111a4cd

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/model/keybinding.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ export interface ISimpleKeybinding {
6464

6565
export const ACTION_QUICK_ACCESS_SETTINGS =
6666
'workbench.action.quickAccessSettings';
67-
export const ACTION_QUICK_COMMAND = 'workbench.action.quickCommand';
67+
export const ACTION_QUICK_COMMAND = 'editor.action.quickCommand';
6868
export const ACTION_SELECT_THEME = 'workbench.action.selectTheme';
6969
export const ACTION_SELECT_LOCALE = 'workbench.action.selectLocale';

src/monaco/quickAccessViewAction.ts

-5
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,6 @@ export class CommandQuickAccessViewAction extends Action2 {
185185
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_P,
186186
secondary: [KeyCode.F1],
187187
},
188-
menu: {
189-
id: MenuId.EditorContext,
190-
group: 'z_commands',
191-
order: 1,
192-
},
193188
});
194189
}
195190

0 commit comments

Comments
 (0)