nixd
|
#include <Protocol.h>
Definition at line 425 of file lspserver/include/lspserver/Protocol.h.
bool lspserver::ClientCapabilities::CancelsStaleRequests = false |
Whether the client claims to cancel stale requests. general.staleRequestSupport.cancel
Definition at line 524 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::ChangeAnnotation = false |
The client supports change annotations on text edits,.
Definition at line 534 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::CodeActionStructure = false |
Client supports CodeAction return value for textDocument/codeAction. textDocument.codeAction.codeActionLiteralSupport.
Definition at line 489 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
MarkupKind lspserver::ClientCapabilities::CompletionDocumentationFormat = MarkupKind::PlainText |
The documentation format that should be used for textDocument/completion. textDocument.completion.completionItem.documentationFormat
Definition at line 485 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::CompletionFixes = false |
Client supports completions with additionalTextEdit near the cursor. This is a clangd extension. (LSP says this is for unrelated text only). textDocument.completion.editsNearCursor
Definition at line 450 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<CompletionItemKindBitset> lspserver::ClientCapabilities::CompletionItemKinds |
The supported set of CompletionItemKinds for textDocument/completion. textDocument.completion.completionItemKind.valueSet
Definition at line 481 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::CompletionSnippets = false |
Client supports snippets as insert text. textDocument.completion.completionItem.snippetSupport
Definition at line 445 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::DiagnosticCategory = false |
Whether the client accepts diagnostics with category attached to it using the "category" extension. textDocument.publishDiagnostics.categorySupport
Definition at line 441 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::DiagnosticFixes = false |
Whether the client accepts diagnostics with codeActions attached inline. textDocument.publishDiagnostics.codeActionsInline.
Definition at line 432 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::DiagnosticRelatedInformation = false |
Whether the client accepts diagnostics with related locations. textDocument.publishDiagnostics.relatedInformation.
Definition at line 436 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::DocumentChanges = false |
The client supports versioned document changes for WorkspaceEdit.
Definition at line 531 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::HasSignatureHelp = false |
Client supports signature help. textDocument.signatureHelp
Definition at line 462 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::HierarchicalDocumentSymbol = false |
Client supports hierarchical document symbols. textDocument.documentSymbol.hierarchicalDocumentSymbolSupport
Definition at line 458 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
MarkupKind lspserver::ClientCapabilities::HoverContentFormat = MarkupKind::PlainText |
The content format that should be used for Hover requests. textDocument.hover.contentEncoding
Definition at line 506 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::ImplicitProgressCreation = false |
The client supports implicit $/progress work-done progress streams, without a preceding window/workDoneProgress/create. This is a clangd extension. window.implicitWorkDoneProgressCreate
Definition at line 520 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::InactiveRegions = false |
Whether the client supports the textDocument/inactiveRegions notification. This is a clangd extension.
Definition at line 538 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::LineFoldingOnly = false |
Client signals that it only supports folding complete lines. Client will ignore specified startCharacter
and endCharacter
properties in a FoldingRange. textDocument.foldingRange.lineFoldingOnly
Definition at line 468 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<std::vector<OffsetEncoding> > lspserver::ClientCapabilities::offsetEncoding |
Supported encodings for LSP character offsets. (clangd extension).
Definition at line 502 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::OffsetsInSignatureHelp = false |
Client supports processing label offsets instead of a simple label string. textDocument.signatureHelp.signatureInformation.parameterInformation.labelOffsetSupport
Definition at line 472 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::ReferenceContainer = false |
Client supports displaying a container string for results of textDocument/reference (clangd extension)
Definition at line 454 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::RenamePrepareSupport = false |
The client supports testing for validity of rename operations before execution.
Definition at line 510 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::SemanticTokenRefreshSupport = false |
Whether the client implementation supports a refresh request sent from the server to the client.
Definition at line 528 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::SemanticTokens = false |
Client advertises support for the semanticTokens feature. We support the textDocument/semanticTokens request in any case. textDocument.semanticTokens
Definition at line 494 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
MarkupKind lspserver::ClientCapabilities::SignatureHelpDocumentationFormat = MarkupKind::PlainText |
The documentation format that should be used for textDocument/signatureHelp. textDocument.signatureHelp.signatureInformation.documentationFormat
Definition at line 477 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::TheiaSemanticHighlighting = false |
Client supports Theia semantic highlighting extension. https://github.com/microsoft/vscode-languageserver-node/pull/367 clangd no longer supports this, we detect it just to log a warning. textDocument.semanticHighlightingCapabilities.semanticHighlighting
Definition at line 499 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::WorkDoneProgress = false |
The client supports progress notifications. window.workDoneProgress
Definition at line 514 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
bool lspserver::ClientCapabilities::WorkspaceConfiguration = false |
Definition at line 540 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
std::optional<SymbolKindBitset> lspserver::ClientCapabilities::WorkspaceSymbolKinds |
The supported set of SymbolKinds for workspace/symbol. workspace.symbol.symbolKind.valueSet
Definition at line 428 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().