MCPcopy Create free account
hub / github.com/GCWing/BitFun / initializeLspOnce

Function initializeLspOnce

src/web-ui/src/tools/lsp/initializeLsp.ts:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25async function initializeLspOnce(): Promise<void> {
26 try {
27 await lspExtensionRegistry.initialize();
28 installLspDiagnosticTools();
29 } catch (error) {
30 lspInitializationPromise = null;
31 log.error('Failed to initialize LSP module', { error });
32 }
33}
34
35export async function ensureWorkspaceLspInitialized(workspacePath?: string): Promise<void> {
36 await initializeLsp();

Callers 1

initializeLspFunction · 0.85

Calls 3

initializeMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected