(uri: string)
| 219 | } |
| 220 | |
| 221 | async displayFile(uri: string): Promise<EditorView | null> { |
| 222 | if (typeof this.options.displayFile === "function") { |
| 223 | try { |
| 224 | return await this.options.displayFile(uri); |
| 225 | } catch (error) { |
| 226 | this.#log("error", "Workspace failed to display file", error); |
| 227 | console.error("[LSP:Workspace] Failed to display file", error); |
| 228 | } |
| 229 | } |
| 230 | return null; |
| 231 | } |
| 232 | |
| 233 | // ======================================================================== |
| 234 | // Workspace Folders Support |
no test coverage detected