class

LSProtocol::SemanticTokensWorkspaceClientCapabilities

Inherits JSON::Serializable / Reference / Object

@since 3.16.0

Constructors

new(pull : JSON::PullParser)
Source
new(refresh_support : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

refresh_support

Whether the client implementation supports a refresh request sent from the server to the client.

Note that this event is global and will force the client to refresh all semantic tokens currently shown. It should be used with absolute care and is useful for situation where a server for example detects a project wide change that requires such a calculation.

Source