LSPPlugin
The ViewPlugin that ties an LSPClient to a single editor session for a given file URI and language id.
Mirrors upstream @codemirror/lsp-client's LSPPlugin. On creation it registers the file with the client's Workspace and ensures the client is initialized; on destroy it unregisters the file. Feature behavior (sending document changes, requesting completions/hover/diagnostics, etc.) is wired in by later feature issues.
Parameters
session
The editor session this plugin is attached to.
client
The LSP client to communicate with.
uri
The document URI for this editor's file.
languageId
The LSP language identifier for this file.
Properties
Link copied to clipboard
The WorkspaceFile this plugin manages within the client's workspace.
Link copied to clipboard
Link copied to clipboard