Defines the capabilities provided by a language server.
- Value parameters:
- callHierarchyProvider
The server provides call hierarchy support.
- codeActionProvider
The server provides code actions. CodeActionOptions may only be specified if the client states that it supports
codeActionLiteralSupport
in its initialinitialize
request.- codeLensProvider
The server provides code lens.
- colorProvider
The server provides color provider support.
- completionProvider
The server provides completion support.
- declarationProvider
The server provides Goto Declaration support.
- definitionProvider
The server provides goto definition support.
- diagnosticProvider
The server has support for pull model diagnostics.
- documentFormattingProvider
The server provides document formatting.
- documentHighlightProvider
The server provides document highlight support.
- documentLinkProvider
The server provides document link support.
- documentOnTypeFormattingProvider
The server provides document formatting on typing.
- documentRangeFormattingProvider
The server provides document range formatting.
- documentSymbolProvider
The server provides document symbol support.
- executeCommandProvider
The server provides execute command support.
- experimental
Experimental server capabilities.
- foldingRangeProvider
The server provides folding provider support.
- hoverProvider
The server provides hover support.
- implementationProvider
The server provides Goto Implementation support.
- inlayHintProvider
The server provides inlay hints.
- inlineValueProvider
The server provides inline values.
- linkedEditingRangeProvider
The server provides linked editing range support.
- monikerProvider
The server provides moniker support.
- notebookDocumentSync
Defines how notebook documents are synced.
- positionEncoding
The position encoding the server picked from the encodings offered by the client via the client capability
general.positionEncodings
. If the client didn't provide any position encodings the only valid value that a server can return is 'utf-16'. If omitted it defaults to 'utf-16'.- referencesProvider
The server provides find references support.
- renameProvider
The server provides rename support. RenameOptions may only be specified if the client states that it supports
prepareSupport
in its initialinitialize
request.- selectionRangeProvider
The server provides selection range support.
- semanticTokensProvider
The server provides semantic tokens support.
- signatureHelpProvider
The server provides signature help support.
- textDocumentSync
Defines how text documents are synced. Is either a detailed structure defining each notification or for backwards compatibility the TextDocumentSyncKind number.
- typeDefinitionProvider
The server provides Goto Type Definition support.
- typeHierarchyProvider
The server provides type hierarchy support.
- workspace
Workspace specific server capabilities.
- workspaceSymbolProvider
The server provides workspace symbol support.
- Since:
3.17.0
- Companion:
- object
- Source:
- structures.scala