MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / createAction

Method createAction

src/activate/CodeActionProvider.ts:16–25  ·  view source on GitHub ↗
(
		title: string,
		kind: vscode.CodeActionKind,
		command: CodeActionId,
		args: any[],
	)

Source from the content-addressed store, hash-verified

14 ]
15
16 private createAction(
17 title: string,
18 kind: vscode.CodeActionKind,
19 command: CodeActionId,
20 args: any[],
21 ): vscode.CodeAction {
22 const action = new vscode.CodeAction(title, kind)
23 action.command = { command: getCodeActionCommand(command), title, arguments: args }
24 return action
25 }
26
27 public provideCodeActions(
28 document: vscode.TextDocument,

Callers 1

provideCodeActionsMethod · 0.95

Calls 1

getCodeActionCommandFunction · 0.90

Tested by

no test coverage detected