clang-tools
11.0.0
|
#include <Protocol.h>
Public Attributes | |
llvm::Optional< SymbolKindBitset > | WorkspaceSymbolKinds |
The supported set of SymbolKinds for workspace/symbol. More... | |
bool | DiagnosticFixes = false |
Whether the client accepts diagnostics with codeActions attached inline. More... | |
bool | DiagnosticRelatedInformation = false |
Whether the client accepts diagnostics with related locations. More... | |
bool | DiagnosticCategory = false |
Whether the client accepts diagnostics with category attached to it using the "category" extension. More... | |
bool | CompletionSnippets = false |
Client supports snippets as insert text. More... | |
bool | CompletionFixes = false |
Client supports completions with additionalTextEdit near the cursor. More... | |
bool | HierarchicalDocumentSymbol = false |
Client supports hierarchical document symbols. More... | |
bool | HasSignatureHelp = false |
Client supports signature help. More... | |
bool | OffsetsInSignatureHelp = false |
Client supports processing label offsets instead of a simple label string. More... | |
llvm::Optional< CompletionItemKindBitset > | CompletionItemKinds |
The supported set of CompletionItemKinds for textDocument/completion. More... | |
MarkupKind | CompletionDocumentationFormat = MarkupKind::PlainText |
The documentation format that should be used for textDocument/completion. More... | |
bool | CodeActionStructure = false |
Client supports CodeAction return value for textDocument/codeAction. More... | |
bool | SemanticTokens = false |
Client advertises support for the semanticTokens feature. More... | |
bool | TheiaSemanticHighlighting = false |
Client supports Theia semantic highlighting extension. More... | |
llvm::Optional< std::vector< OffsetEncoding > > | offsetEncoding |
Supported encodings for LSP character offsets. (clangd extension). More... | |
MarkupKind | HoverContentFormat = MarkupKind::PlainText |
The content format that should be used for Hover requests. More... | |
bool | RenamePrepareSupport = false |
The client supports testing for validity of rename operations before execution. More... | |
bool | WorkDoneProgress = false |
The client supports progress notifications. More... | |
bool | ImplicitProgressCreation = false |
The client supports implicit $/progress work-done progress streams, without a preceding window/workDoneProgress/create. More... | |
Definition at line 390 of file Protocol.h.
bool clang::clangd::ClientCapabilities::CodeActionStructure = false |
Client supports CodeAction return value for textDocument/codeAction.
textDocument.codeAction.codeActionLiteralSupport.
Definition at line 439 of file Protocol.h.
MarkupKind clang::clangd::ClientCapabilities::CompletionDocumentationFormat = MarkupKind::PlainText |
The documentation format that should be used for textDocument/completion.
textDocument.completion.completionItem.documentationFormat
Definition at line 435 of file Protocol.h.
bool clang::clangd::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 415 of file Protocol.h.
llvm::Optional<CompletionItemKindBitset> clang::clangd::ClientCapabilities::CompletionItemKinds |
The supported set of CompletionItemKinds for textDocument/completion.
textDocument.completion.completionItemKind.valueSet
Definition at line 431 of file Protocol.h.
bool clang::clangd::ClientCapabilities::CompletionSnippets = false |
Client supports snippets as insert text.
textDocument.completion.completionItem.snippetSupport
Definition at line 410 of file Protocol.h.
bool clang::clangd::ClientCapabilities::DiagnosticCategory = false |
Whether the client accepts diagnostics with category attached to it using the "category" extension.
textDocument.publishDiagnostics.categorySupport
Definition at line 406 of file Protocol.h.
bool clang::clangd::ClientCapabilities::DiagnosticFixes = false |
Whether the client accepts diagnostics with codeActions attached inline.
textDocument.publishDiagnostics.codeActionsInline.
Definition at line 397 of file Protocol.h.
bool clang::clangd::ClientCapabilities::DiagnosticRelatedInformation = false |
Whether the client accepts diagnostics with related locations.
textDocument.publishDiagnostics.relatedInformation.
Definition at line 401 of file Protocol.h.
bool clang::clangd::ClientCapabilities::HasSignatureHelp = false |
Client supports signature help.
textDocument.signatureHelp
Definition at line 423 of file Protocol.h.
bool clang::clangd::ClientCapabilities::HierarchicalDocumentSymbol = false |
Client supports hierarchical document symbols.
textDocument.documentSymbol.hierarchicalDocumentSymbolSupport
Definition at line 419 of file Protocol.h.
MarkupKind clang::clangd::ClientCapabilities::HoverContentFormat = MarkupKind::PlainText |
The content format that should be used for Hover requests.
textDocument.hover.contentEncoding
Definition at line 457 of file Protocol.h.
bool clang::clangd::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 471 of file Protocol.h.
llvm::Optional<std::vector<OffsetEncoding> > clang::clangd::ClientCapabilities::offsetEncoding |
Supported encodings for LSP character offsets. (clangd extension).
Definition at line 453 of file Protocol.h.
bool clang::clangd::ClientCapabilities::OffsetsInSignatureHelp = false |
Client supports processing label offsets instead of a simple label string.
textDocument.signatureHelp.signatureInformation.parameterInformation.labelOffsetSupport
Definition at line 427 of file Protocol.h.
bool clang::clangd::ClientCapabilities::RenamePrepareSupport = false |
The client supports testing for validity of rename operations before execution.
Definition at line 461 of file Protocol.h.
bool clang::clangd::ClientCapabilities::SemanticTokens = false |
Client advertises support for the semanticTokens feature.
We support the textDocument/semanticTokens request in any case. textDocument.semanticTokens
Definition at line 444 of file Protocol.h.
bool clang::clangd::ClientCapabilities::TheiaSemanticHighlighting = false |
Client supports Theia semantic highlighting extension.
https://github.com/microsoft/vscode-languageserver-node/pull/367 This will be ignored if the client also supports semanticTokens. textDocument.semanticHighlightingCapabilities.semanticHighlighting FIXME: drop this support once clients support LSP 3.16 Semantic Tokens.
Definition at line 450 of file Protocol.h.
bool clang::clangd::ClientCapabilities::WorkDoneProgress = false |
The client supports progress notifications.
window.workDoneProgress
Definition at line 465 of file Protocol.h.
llvm::Optional<SymbolKindBitset> clang::clangd::ClientCapabilities::WorkspaceSymbolKinds |
The supported set of SymbolKinds for workspace/symbol.
workspace.symbol.symbolKind.valueSet
Definition at line 393 of file Protocol.h.