mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
This commit is contained in:
parent
a520661924
commit
046e3c7f0e
|
@ -478,6 +478,7 @@ export function registerAction2(ctor: { new(): Action2 }): IDisposable {
|
|||
}
|
||||
if (f1) {
|
||||
disposables.add(MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command, when: command.precondition }));
|
||||
disposables.add(MenuRegistry.addCommand(command));
|
||||
}
|
||||
|
||||
// keybinding
|
||||
|
|
Loading…
Reference in a new issue