class LSProtocol::DocumentSymbolClientCapabilities

Overview

Client Capabilities for a DocumentSymbolRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(dynamic_registration : Bool | Nil = nil, hierarchical_document_symbol_support : Bool | Nil = nil, label_support : Bool | Nil = nil, symbol_kind : ClientSymbolKindOptions | Nil = nil, tag_support : ClientSymbolTagOptions | Nil = nil) #

[View source]

Instance Method Detail

def dynamic_registration : Bool | Nil #

Whether document symbol supports dynamic registration.


[View source]
def hierarchical_document_symbol_support : Bool | Nil #

The client supports hierarchical document symbols.


[View source]
def label_support : Bool | Nil #

The client supports an additional label presented in the UI when registering a document symbol provider.

@since 3.16.0


[View source]
def symbol_kind : ClientSymbolKindOptions | Nil #

Specific capabilities for the SymbolKind in the textDocument/documentSymbol request.


[View source]
def tag_support : ClientSymbolTagOptions | Nil #

The client supports tags on SymbolInformation. Tags are supported on DocumentSymbol if hierarchicalDocumentSymbolSupport is set to true. Clients supporting tags have to handle unknown tags gracefully.

@since 3.16.0


[View source]