Skip to content

Commit ec90e96

Browse files
committed
Add registerAction2 note
1 parent 887163e commit ec90e96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/common/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface IWorkbenchActionRegistry {
2222
/**
2323
* Registers a workbench action to the platform. Workbench actions are not
2424
* visible by default and can only be invoked through a keybinding if provided.
25-
* @deprecated Register directly with KeybindingsRegistry and MenuRegistry instead.
25+
* @deprecated Register directly with KeybindingsRegistry and MenuRegistry or use registerAction2 instead.
2626
*/
2727
registerWorkbenchAction(descriptor: SyncActionDescriptor, alias: string, category?: string, when?: ContextKeyExpr): IDisposable;
2828
}

0 commit comments

Comments
 (0)