struct LSP::TextDocumentClientCapabilities::SemanticTokensClientCapabilities

Included Modules

Defined in:

base/capabilities/text_document_client_capabilites.cr

Constructors

Instance Method Summary

Macros inherited from module JSON::Serializable

json_discriminator(field, mapping, *, default = nil) json_discriminator

Constructor Detail

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

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def augments_syntax_tokens : Bool | Nil #

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


[View source]
def augments_syntax_tokens=(augments_syntax_tokens : Bool | Nil) #

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


[View source]
def dynamic_registration : Bool | Nil #

Whether implementation supports dynamic registration.


[View source]
def dynamic_registration=(dynamic_registration : Bool | Nil) #

Whether implementation supports dynamic registration.


[View source]
def formats : Array(String) | Nil #

The formats the client supports (relative).


[View source]
def formats=(formats : Array(String) | Nil) #

The formats the client supports (relative).


[View source]
def multiline_token_support : Bool | Nil #

Whether the client supports tokens that can span multiple lines.


[View source]
def multiline_token_support=(multiline_token_support : Bool | Nil) #

Whether the client supports tokens that can span multiple lines.


[View source]
def overlapping_token_support : Bool | Nil #

Whether the client supports tokens that can overlap each other.


[View source]
def overlapping_token_support=(overlapping_token_support : Bool | Nil) #

Whether the client supports tokens that can overlap each other.


[View source]
def requests : Requests | Nil #

Which requests the client supports, and how.


[View source]
def requests=(requests : Requests | Nil) #

Which requests the client supports, and how.


[View source]
def server_cancel_support : Bool | Nil #

Whether the client allows the server to cancel a request.


[View source]
def server_cancel_support=(server_cancel_support : Bool | Nil) #

Whether the client allows the server to cancel a request.


[View source]
def token_modifiers : Array(String) | Nil #

The token modifiers the client understands.


[View source]
def token_modifiers=(token_modifiers : Array(String) | Nil) #

The token modifiers the client understands.


[View source]
def token_types : Array(String) | Nil #

The token types the client understands.


[View source]
def token_types=(token_types : Array(String) | Nil) #

The token types the client understands.


[View source]