class LSProtocol::TextDocumentClientCapabilities

Overview

Text document specific client capabilities.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(call_hierarchy : CallHierarchyClientCapabilities | Nil = nil, code_action : CodeActionClientCapabilities | Nil = nil, code_lens : CodeLensClientCapabilities | Nil = nil, color_provider : DocumentColorClientCapabilities | Nil = nil, completion : CompletionClientCapabilities | Nil = nil, declaration : DeclarationClientCapabilities | Nil = nil, definition : DefinitionClientCapabilities | Nil = nil, diagnostic : DiagnosticClientCapabilities | Nil = nil, document_highlight : DocumentHighlightClientCapabilities | Nil = nil, document_link : DocumentLinkClientCapabilities | Nil = nil, document_symbol : DocumentSymbolClientCapabilities | Nil = nil, filters : TextDocumentFilterClientCapabilities | Nil = nil, folding_range : FoldingRangeClientCapabilities | Nil = nil, formatting : DocumentFormattingClientCapabilities | Nil = nil, hover : HoverClientCapabilities | Nil = nil, implementation : ImplementationClientCapabilities | Nil = nil, inlay_hint : InlayHintClientCapabilities | Nil = nil, inline_completion : InlineCompletionClientCapabilities | Nil = nil, inline_value : InlineValueClientCapabilities | Nil = nil, linked_editing_range : LinkedEditingRangeClientCapabilities | Nil = nil, moniker : MonikerClientCapabilities | Nil = nil, on_type_formatting : DocumentOnTypeFormattingClientCapabilities | Nil = nil, publish_diagnostics : PublishDiagnosticsClientCapabilities | Nil = nil, range_formatting : DocumentRangeFormattingClientCapabilities | Nil = nil, references : ReferenceClientCapabilities | Nil = nil, rename : RenameClientCapabilities | Nil = nil, selection_range : SelectionRangeClientCapabilities | Nil = nil, semantic_tokens : SemanticTokensClientCapabilities | Nil = nil, signature_help : SignatureHelpClientCapabilities | Nil = nil, synchronization : TextDocumentSyncClientCapabilities | Nil = nil, type_definition : TypeDefinitionClientCapabilities | Nil = nil, type_hierarchy : TypeHierarchyClientCapabilities | Nil = nil) #

[View source]

Instance Method Detail

def call_hierarchy : CallHierarchyClientCapabilities | Nil #

Capabilities specific to the various call hierarchy requests.

@since 3.16.0


[View source]
def code_action : CodeActionClientCapabilities | Nil #

Capabilities specific to the textDocument/codeAction request.


[View source]
def code_lens : CodeLensClientCapabilities | Nil #

Capabilities specific to the textDocument/codeLens request.


[View source]
def color_provider : DocumentColorClientCapabilities | Nil #

Capabilities specific to the textDocument/documentColor and the textDocument/colorPresentation request.

@since 3.6.0


[View source]
def completion : CompletionClientCapabilities | Nil #

Capabilities specific to the textDocument/completion request.


[View source]
def declaration : DeclarationClientCapabilities | Nil #

Capabilities specific to the textDocument/declaration request.

@since 3.14.0


[View source]
def definition : DefinitionClientCapabilities | Nil #

Capabilities specific to the textDocument/definition request.


[View source]
def diagnostic : DiagnosticClientCapabilities | Nil #

Capabilities specific to the diagnostic pull model.

@since 3.17.0


[View source]
def document_highlight : DocumentHighlightClientCapabilities | Nil #

Capabilities specific to the textDocument/documentHighlight request.


[View source]
def document_link : DocumentLinkClientCapabilities | Nil #

Capabilities specific to the textDocument/documentLink request.


[View source]
def document_symbol : DocumentSymbolClientCapabilities | Nil #

Capabilities specific to the textDocument/documentSymbol request.


[View source]

Defines which filters the client supports.

@since 3.18.0


[View source]
def folding_range : FoldingRangeClientCapabilities | Nil #

Capabilities specific to the textDocument/foldingRange request.

@since 3.10.0


[View source]
def formatting : DocumentFormattingClientCapabilities | Nil #

Capabilities specific to the textDocument/formatting request.


[View source]
def hover : HoverClientCapabilities | Nil #

Capabilities specific to the textDocument/hover request.


[View source]
def implementation : ImplementationClientCapabilities | Nil #

Capabilities specific to the textDocument/implementation request.

@since 3.6.0


[View source]
def inlay_hint : InlayHintClientCapabilities | Nil #

Capabilities specific to the textDocument/inlayHint request.

@since 3.17.0


[View source]
def inline_completion : InlineCompletionClientCapabilities | Nil #

Client capabilities specific to inline completions.

@since 3.18.0 @proposed


[View source]
def inline_value : InlineValueClientCapabilities | Nil #

Capabilities specific to the textDocument/inlineValue request.

@since 3.17.0


[View source]
def linked_editing_range : LinkedEditingRangeClientCapabilities | Nil #

Capabilities specific to the textDocument/linkedEditingRange request.

@since 3.16.0


[View source]
def moniker : MonikerClientCapabilities | Nil #

Client capabilities specific to the textDocument/moniker request.

@since 3.16.0


[View source]
def on_type_formatting : DocumentOnTypeFormattingClientCapabilities | Nil #

Capabilities specific to the textDocument/onTypeFormatting request.


[View source]
def publish_diagnostics : PublishDiagnosticsClientCapabilities | Nil #

Capabilities specific to the textDocument/publishDiagnostics notification.


[View source]
def range_formatting : DocumentRangeFormattingClientCapabilities | Nil #

Capabilities specific to the textDocument/rangeFormatting request.


[View source]
def references : ReferenceClientCapabilities | Nil #

Capabilities specific to the textDocument/references request.


[View source]
def rename : RenameClientCapabilities | Nil #

Capabilities specific to the textDocument/rename request.


[View source]
def selection_range : SelectionRangeClientCapabilities | Nil #

Capabilities specific to the textDocument/selectionRange request.

@since 3.15.0


[View source]
def semantic_tokens : SemanticTokensClientCapabilities | Nil #

Capabilities specific to the various semantic token request.

@since 3.16.0


[View source]
def signature_help : SignatureHelpClientCapabilities | Nil #

Capabilities specific to the textDocument/signatureHelp request.


[View source]
def synchronization : TextDocumentSyncClientCapabilities | Nil #

Defines which synchronization capabilities the client supports.


[View source]
def type_definition : TypeDefinitionClientCapabilities | Nil #

Capabilities specific to the textDocument/typeDefinition request.

@since 3.6.0


[View source]
def type_hierarchy : TypeHierarchyClientCapabilities | Nil #

Capabilities specific to the various type hierarchy requests.

@since 3.17.0


[View source]