class

LSProtocol::SemanticTokensRegistrationOptions

Inherits JSON::Serializable / Reference / Object

@since 3.16.0

Constructors

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

document_selector

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.

Source
full

Server supports providing semantic tokens for a full document.

Source
id

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

Source
legend

The legend used by the server

Source
range

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

Source
work_done_progress
Source