struct

LSP::SemanticTokensOptions

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(legend : LSP::SemanticTokensLegend, range : Bool, full : Bool)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

full=(full : Bool)

Server supports providing semantic tokens for a full document.

Source
full?

Server supports providing semantic tokens for a full document.

Source
legend

The legend used by the server

Source
legend=(legend : SemanticTokensLegend)

The legend used by the server

Source
range=(range : Bool)

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

Source
range?

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

Source