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

Function registerCodeActions

src/activate/registerCodeActions.ts:9–14  ·  view source on GitHub ↗
(context: vscode.ExtensionContext)

Source from the content-addressed store, hash-verified

7import { ClineProvider } from "../core/webview/ClineProvider"
8
9export const registerCodeActions = (context: vscode.ExtensionContext) => {
10 registerCodeAction(context, "explainCode", "EXPLAIN")
11 registerCodeAction(context, "fixCode", "FIX")
12 registerCodeAction(context, "improveCode", "IMPROVE")
13 registerCodeAction(context, "addToContext", "ADD_TO_CONTEXT")
14}
15
16const registerCodeAction = (context: vscode.ExtensionContext, command: CodeActionId, promptType: CodeActionName) => {
17 let userInput: string | undefined

Callers 1

activateFunction · 0.90

Calls 1

registerCodeActionFunction · 0.85

Tested by

no test coverage detected