struct

LSP::TextDocumentClientCapabilities::SemanticTokensClientCapabilities

Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

augments_syntax_tokens

Whether the client uses semantic tokens to augment its syntax based highlighting instead of replacing it.

Source
augments_syntax_tokens=(augments_syntax_tokens : Bool | Nil)

Whether the client uses semantic tokens to augment its syntax based highlighting instead of replacing it.

Source
dynamic_registration

Whether implementation supports dynamic registration.

Source
dynamic_registration=(dynamic_registration : Bool | Nil)

Whether implementation supports dynamic registration.

Source
formats

The formats the client supports (relative).

Source
formats=(formats : Array(String) | Nil)

The formats the client supports (relative).

Source
multiline_token_support

Whether the client supports tokens that can span multiple lines.

Source
multiline_token_support=(multiline_token_support : Bool | Nil)

Whether the client supports tokens that can span multiple lines.

Source
overlapping_token_support

Whether the client supports tokens that can overlap each other.

Source
overlapping_token_support=(overlapping_token_support : Bool | Nil)

Whether the client supports tokens that can overlap each other.

Source
requests

Which requests the client supports, and how.

Source
requests=(requests : Requests | Nil)

Which requests the client supports, and how.

Source
server_cancel_support

Whether the client allows the server to cancel a request.

Source
server_cancel_support=(server_cancel_support : Bool | Nil)

Whether the client allows the server to cancel a request.

Source
token_modifiers

The token modifiers the client understands.

Source
token_modifiers=(token_modifiers : Array(String) | Nil)

The token modifiers the client understands.

Source
token_types

The token types the client understands.

Source
token_types=(token_types : Array(String) | Nil)

The token types the client understands.

Source

Nested types