struct LSP::SemanticTokensOptions

Included Modules

Defined in:

lsp/protocol/semantic_tokens_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(legend : LSP::SemanticTokensLegend, range : Bool, full : Bool) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def full=(full : Bool) #

Server supports providing semantic tokens for a full document.


[View source]
def full? : Bool #

Server supports providing semantic tokens for a full document.


[View source]
def legend : SemanticTokensLegend #

The legend used by the server


[View source]
def legend=(legend : SemanticTokensLegend) #

The legend used by the server


[View source]
def range=(range : Bool) #

Server supports providing semantic tokens for a specific range of a document.


[View source]
def range? : Bool #

Server supports providing semantic tokens for a specific range of a document.


[View source]