typedef ServerCapabilities
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Protocol
Defines the capabilities provided by a language server.
Fields
optionalworkspaceSymbolProvider:Null<EitherType<Bool, WorkspaceSymbolOptions>>
The server provides workspace symbol support.
optionalworkspace:Null<{workspaceFolders:Null<WorkspaceFoldersServerCapabilities>, fileOperations:Null<FileOperationOptions>}>
Workspace specific server capabilities.
optionaltypeHierarchyProvider:Null<EitherType<Bool, EitherType<TypeHierarchyOptions, TypeHierarchyRegistrationOptions>>>
The server provides type hierarchy support.
3.17.0
.optionaltypeDefinitionProvider:Null<EitherType<Bool, EitherType<TypeDefinitionOptions, TypeDefinitionRegistrationOptions>>>
The server provides Goto Type Definition support.
optionaltextDocumentSync:Null<EitherType<TextDocumentSyncOptions, TextDocumentSyncKind>>
Defines how text documents are synced. Is either a detailed structure defining each notification or for backwards compatibility the TextDocumentSyncKind number.
optionalsemanticTokensProvider:Null<EitherType<SemanticTokensOptions, SemanticTokensRegistrationOptions>>
The server provides semantic tokens support.
3.16.0
.optionalselectionRangeProvider:Null<EitherType<Bool, EitherType<SelectionRangeOptions, SelectionRangeRegistrationOptions>>>
The server provides selection range support.
optionalrenameProvider:Null<EitherType<Bool, RenameOptions>>
The server provides rename support. RenameOptions may only be
specified if the client states that it supports
prepareSupport
in its initial initialize
request.
optionalreferencesProvider:Null<EitherType<Bool, ReferenceOptions>>
The server provides find references support.
optionalpositionEncoding:Null<PositionEncodingKind>
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'.
If for some reason
3.17.0
.optionalnotebookDocumentSync:Null<EitherType<NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions>>
Defines how notebook documents are synced.
3.17.0
.optionalmonikerProvider:Null<EitherType<Bool, EitherType<MonikerOptions, MonikerRegistrationOptions>>>
The server provides moniker support.
3.16.0
.optionallinkedEditingRangeProvider:Null<EitherType<Bool, EitherType<LinkedEditingRangeOptions, LinkedEditingRangeRegistrationOptions>>>
The server provides linked editing range support.
3.16.0
.optionalinlineValueProvider:Null<EitherType<Bool, EitherType<InlineValueOptions, InlineValueRegistrationOptions>>>
The server provides inline values.
3.17.0
.optionalinlayHintProvider:Null<EitherType<Bool, EitherType<InlayHintOptions, InlayHintRegistrationOptions>>>
The server provides inlay hints.
3.17.0
.optionalimplementationProvider:Null<EitherType<Bool, EitherType<ImplementationOptions, ImplementationRegistrationOptions>>>
The server provides Goto Implementation support.
optionalfoldingRangeProvider:Null<EitherType<Bool, EitherType<FoldingRangeOptions, FoldingRangeRegistrationOptions>>>
The server provides folding provider support.
optionalexecuteCommandProvider:Null<ExecuteCommandOptions>
The server provides execute command support.
optionaldocumentSymbolProvider:Null<EitherType<Bool, DocumentSymbolOptions>>
The server provides document symbol support.
optionaldocumentRangeFormattingProvider:Null<EitherType<Bool, DocumentRangeFormattingOptions>>
The server provides document range formatting.
optionaldocumentOnTypeFormattingProvider:Null<DocumentOnTypeFormattingOptions>
The server provides document formatting on typing.
optionaldocumentHighlightProvider:Null<EitherType<Bool, DocumentHighlightOptions>>
The server provides document highlight support.
optionaldocumentFormattingProvider:Null<EitherType<Bool, DocumentFormattingOptions>>
The server provides document formatting.
optionaldiagnosticProvider:Null<EitherType<DiagnosticOptions, DiagnosticRegistrationOptions>>
The server has support for pull model diagnostics.
3.17.0
.optionaldefinitionProvider:Null<EitherType<Bool, DefinitionOptions>>
The server provides goto definition support.
optionaldeclarationProvider:Null<EitherType<Bool, EitherType<DeclarationOptions, DeclarationRegistrationOptions>>>
The server provides Goto Declaration support.
optionalcolorProvider:Null<EitherType<Bool, EitherType<DocumentColorOptions, DocumentColorRegistrationOptions>>>
The server provides color provider support.
optionalcodeActionProvider:Null<EitherType<Bool, CodeActionOptions>>
The server provides code actions. CodeActionOptions may only be
specified if the client states that it supports
codeActionLiteralSupport
in its initial initialize
request.
optionalchangeNotifications:Null<EitherType<String, Bool>>
Whether the server wants to receive workspace folder change notifications.
If a strings is provided the string is treated as a ID
under which the notification is registed on the client
side. The ID can be used to unregister for these events
using the client/unregisterCapability
request.
optionalcallHierarchyProvider:Null<EitherType<Bool, EitherType<CallHierarchyOptions, CallHierarchyRegistrationOptions>>>
The server provides call hierarchy support.
3.16.0
.