MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / start

Function start

src/commands.ts:43–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 const channel = new Channel(workspaceState)
42
43 const start = async () => {
44 if (webview && webview.state.loaded) {
45 webview.createOrShow()
46 } else {
47 // activate machine
48 webview = await createWebView({
49 extensionPath,
50 channel,
51 })
52 // make send to client function exportable
53 // as "send".
54 sendToClient = webview.send
55 }
56 }
57
58 // run activation if triggered by "workspaceContains"
59 start()

Callers 1

createCommandsFunction · 0.85

Calls 1

createOrShowMethod · 0.80

Tested by

no test coverage detected