clang-tools  8.0.0
Public Attributes | List of all members
clang::clangd::ClientCapabilities Struct Reference

#include <Protocol.h>

Collaboration diagram for clang::clangd::ClientCapabilities:
[legend]

Public Attributes

llvm::Optional< SymbolKindBitsetWorkspaceSymbolKinds
 The supported set of SymbolKinds for workspace/symbol. More...
 
bool DiagnosticFixes = false
 Whether the client accepts diagnostics with codeActions attached inline. 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 HierarchicalDocumentSymbol = false
 Client supports hierarchical document symbols. More...
 
llvm::Optional< CompletionItemKindBitsetCompletionItemKinds
 The supported set of CompletionItemKinds for textDocument/completion. More...
 
bool CodeActionStructure = false
 Client supports CodeAction return value for textDocument/codeAction. More...
 

Detailed Description

Definition at line 338 of file Protocol.h.

Member Data Documentation

◆ CodeActionStructure

bool clang::clangd::ClientCapabilities::CodeActionStructure = false

Client supports CodeAction return value for textDocument/codeAction.

textDocument.codeAction.codeActionLiteralSupport.

Definition at line 365 of file Protocol.h.

◆ CompletionItemKinds

llvm::Optional<CompletionItemKindBitset> clang::clangd::ClientCapabilities::CompletionItemKinds

The supported set of CompletionItemKinds for textDocument/completion.

textDocument.completion.completionItemKind.valueSet

Definition at line 361 of file Protocol.h.

◆ CompletionSnippets

bool clang::clangd::ClientCapabilities::CompletionSnippets = false

Client supports snippets as insert text.

textDocument.completion.completionItem.snippetSupport

Definition at line 354 of file Protocol.h.

◆ DiagnosticCategory

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 350 of file Protocol.h.

Referenced by clang::clangd::fromJSON().

◆ DiagnosticFixes

bool clang::clangd::ClientCapabilities::DiagnosticFixes = false

Whether the client accepts diagnostics with codeActions attached inline.

textDocument.publishDiagnostics.codeActionsInline.

Definition at line 345 of file Protocol.h.

Referenced by clang::clangd::fromJSON().

◆ HierarchicalDocumentSymbol

bool clang::clangd::ClientCapabilities::HierarchicalDocumentSymbol = false

Client supports hierarchical document symbols.

Definition at line 357 of file Protocol.h.

◆ WorkspaceSymbolKinds

llvm::Optional<SymbolKindBitset> clang::clangd::ClientCapabilities::WorkspaceSymbolKinds

The supported set of SymbolKinds for workspace/symbol.

workspace.symbol.symbolKind.valueSet

Definition at line 341 of file Protocol.h.


The documentation for this struct was generated from the following file: