pub struct SemanticTokensClientCapabilities {
pub dynamic_registration: Option<bool>,
pub formats: Vec<TokenFormat>,
pub multiline_token_support: Option<bool>,
pub overlapping_token_support: Option<bool>,
pub requests: SemanticTokensClientCapabilitiesRequests,
pub token_modifiers: Vec<SemanticTokenModifiers>,
pub token_types: Vec<SemanticTokenTypes>,
}Fields§
§dynamic_registration: Option<bool>Whether implementation supports dynamic registration. If this is set to true the client
supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions) return
value for the corresponding server capability as well.
formats: Vec<TokenFormat>The formats the clients supports.
multiline_token_support: Option<bool>Whether the client supports tokens that can span multiple lines.
overlapping_token_support: Option<bool>Whether the client supports tokens that can overlap each other.
requests: SemanticTokensClientCapabilitiesRequestsWhich 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.
token_modifiers: Vec<SemanticTokenModifiers>The token modifiers that the client supports.
token_types: Vec<SemanticTokenTypes>The token types that the client supports.
Trait Implementations§
Source§impl Clone for SemanticTokensClientCapabilities
impl Clone for SemanticTokensClientCapabilities
Source§fn clone(&self) -> SemanticTokensClientCapabilities
fn clone(&self) -> SemanticTokensClientCapabilities
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for SemanticTokensClientCapabilities
impl Default for SemanticTokensClientCapabilities
Source§fn default() -> SemanticTokensClientCapabilities
fn default() -> SemanticTokensClientCapabilities
Source§impl<'de> Deserialize<'de> for SemanticTokensClientCapabilities
impl<'de> Deserialize<'de> for SemanticTokensClientCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SemanticTokensClientCapabilities
impl PartialEq for SemanticTokensClientCapabilities
Source§fn eq(&self, other: &SemanticTokensClientCapabilities) -> bool
fn eq(&self, other: &SemanticTokensClientCapabilities) -> bool
self and other values to be equal, and is used by ==.