Package-level declarations
Types
How a document's changes should be synchronized to the server, as negotiated through the server's textDocumentSync capability.
A client that connects a kodemirror editor to a language server.
Configuration for an LSPClient.
The ViewPlugin that ties an LSPClient to a single editor session for a given file URI and language id.
Configuration for serverCompletion.
Configuration for signatureHelp.
Represents a single document tracked by a Workspace.
A pending update for a file, produced by Workspace.syncFiles.
Maps positions from the document version a request was issued against to the current document version.
Properties
The default find-references key bindings, matching upstream's findReferencesKeymap: Shift-F12 runs findReferences (preventing the default action) and Escape runs closeReferencePanel.
The default formatting key bindings, matching upstream's formatKeymap: Shift-Alt-f runs formatDocument (preventing the default action).
The default go-to-definition key bindings, matching upstream's jumpToDefinitionKeymap: F12 runs jumpToDefinition (preventing the default action).
The default rename key bindings, matching upstream's renameKeymap: F2 runs renameSymbol (preventing the default action). Escape cancels an open rename prompt (cancelRename).
The default signature-help key bindings, matching upstream's signatureKeymap:
Functions
Close the reference panel, if it is open.
Build the editor Extension that enables the LSP go-to-definition family (jumpToDefinition / jumpToDeclaration / jumpToTypeDefinition / jumpToImplementation) for the file at uri served by client.
Ask the server to locate all references to the symbol at the cursor and, when any are returned, show them in a panel.
Format the whole document via the language server.
Convert an LSP Position to a kodemirror document offset.
Jump to the declaration of the symbol at the cursor.
Jump to the definition of the symbol at the cursor.
Jump to the implementation of the symbol at the cursor.
Jump to the type definition of the symbol at the cursor.
If a signature tooltip with multiple signatures is showing, move to the next one. Ports upstream's nextSignature. Returns false when no tooltip is active.
If a signature tooltip with multiple signatures is showing, move to the previous one. Ports upstream's prevSignature. Returns false when no tooltip is active.
Prompt the user for a new name for the symbol at the cursor and, on confirmation, ask the language server to rename it.
Register the language-server completion source as the editor's autocompletion source.
Editor extension that renders LSP diagnostics pushed by the language server.
Explicitly prompt the server to provide signature help at the cursor.
Convert a kodemirror document offset to an LSP Position.