Skip to content

Commit

Permalink
fix: duplicate command palette in editor context menu (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung authored Jul 14, 2021
1 parent 16be69c commit 111a4cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/model/keybinding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ export interface ISimpleKeybinding {

export const ACTION_QUICK_ACCESS_SETTINGS =
'workbench.action.quickAccessSettings';
export const ACTION_QUICK_COMMAND = 'workbench.action.quickCommand';
export const ACTION_QUICK_COMMAND = 'editor.action.quickCommand';
export const ACTION_SELECT_THEME = 'workbench.action.selectTheme';
export const ACTION_SELECT_LOCALE = 'workbench.action.selectLocale';
5 changes: 0 additions & 5 deletions src/monaco/quickAccessViewAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@ export class CommandQuickAccessViewAction extends Action2 {
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_P,
secondary: [KeyCode.F1],
},
menu: {
id: MenuId.EditorContext,
group: 'z_commands',
order: 1,
},
});
}

Expand Down

0 comments on commit 111a4cd

Please sign in to comment.