MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / openFile

Method openFile

src/cm/lsp/workspace.ts:149–152  ·  view source on GitHub ↗
(uri: string, languageId: string, view: EditorView)

Source from the content-addressed store, hash-verified

147 }
148
149 openFile(uri: string, languageId: string, view: EditorView): void {
150 if (!view) return;
151 this.#getOrCreateFile(uri, languageId, view);
152 }
153
154 closeFile(uri: string, view?: EditorView): void {
155 const file = this.#getFileEntry(uri);

Callers 1

index.jsFile · 0.80

Calls 1

#getOrCreateFileMethod · 0.95

Tested by

no test coverage detected