Method: LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities#requests
- Defined in:
- lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb
#requests ⇒ { range?: boolean | {}; full?: boolean | { delta?: boolean; }; }
Which requests the client supports and might send to the server depending on the server’s capability. Please note that clients might not show semantic tokens or degrade some of the user experience if a range or full request is advertised by the client but not provided by the server. If for example the client capability requests.full and request.range are both set to true but the server only provides a range provider the client might not render a minimap correctly or might even decide to not show any semantic tokens at all.
43 44 45 |
# File 'lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb', line 43 def requests attributes.fetch(:requests) end |