Make sure "command palette" command doesn't show up in simple editor
#104727
This commit is contained in:
parent
624e408a2c
commit
9fcefcd872
|
@ -95,10 +95,10 @@ MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
|
|||
|
||||
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
||||
group: 'z_commands',
|
||||
when: EditorContextKeys.editorSimpleInput.toNegated(),
|
||||
command: {
|
||||
id: ShowAllCommandsAction.ID,
|
||||
title: localize('commandPalette', "Command Palette..."),
|
||||
precondition: EditorContextKeys.editorSimpleInput.toNegated()
|
||||
},
|
||||
order: 1
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue