提交 ec90e96b 编写于 作者: D Daniel Imms

Add registerAction2 note

上级 887163e0
......@@ -22,7 +22,7 @@ export interface IWorkbenchActionRegistry {
/**
* Registers a workbench action to the platform. Workbench actions are not
* visible by default and can only be invoked through a keybinding if provided.
* @deprecated Register directly with KeybindingsRegistry and MenuRegistry instead.
* @deprecated Register directly with KeybindingsRegistry and MenuRegistry or use registerAction2 instead.
*/
registerWorkbenchAction(descriptor: SyncActionDescriptor, alias: string, category?: string, when?: ContextKeyExpr): IDisposable;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册