class LSProtocol::SemanticTokensRegistrationOptions

Overview

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document_selector : DocumentSelector | Nil, legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, id : String | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil) #

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

[View source]

Instance Method Detail

def document_selector : DocumentSelector | Nil #

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.


[View source]
def full : Bool | SemanticTokensFullDelta | Nil #

Server supports providing semantic tokens for a full document.


[View source]
def id : String | Nil #

The id used to register the request. The id can be used to deregister the request again. See also Registration#id.


[View source]
def legend : SemanticTokensLegend #

The legend used by the server


[View source]
def range : Bool | JSON::Any | Nil #

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


[View source]
def work_done_progress : Bool | Nil #

[View source]