MCPcopy Create free account
hub / github.com/angular/angular / applyCodeActionCommand

Function applyCodeActionCommand

vscode-ng-language-service/client/src/commands.ts:210–218  ·  view source on GitHub ↗
(ngClient: AngularLanguageClient)

Source from the content-addressed store, hash-verified

208}
209
210function applyCodeActionCommand(ngClient: AngularLanguageClient): Command {
211 return {
212 id: 'angular.applyCompletionCodeAction',
213 isTextEditorCommand: false,
214 async execute(args: lsp.WorkspaceEdit[]) {
215 await ngClient.applyWorkspaceEdits(args);
216 },
217 };
218}
219
220/**
221 * Register all supported vscode commands for the Angular extension.

Callers 1

registerCommandsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected