Make sure "command palette" command doesn't show up in simple editor

#104727
This commit is contained in:
Rob Lourens 2020-08-17 17:38:45 -07:00
parent 624e408a2c
commit 9fcefcd872

View file

@ -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
});