Enum lsp_types::request::DocumentHighlightRequest [−][src]
pub enum DocumentHighlightRequest {}Expand description
The document highlight request is sent from the client to the server to resolve a document highlights for a given text document position. For programming languages this usually highlights all references to the symbol scoped to this file. However we kept ‘textDocument/documentHighlight’ and ‘textDocument/references’ separate requests since the first one is allowed to be more fuzzy. Symbol matches usually have a DocumentHighlightKind of Read or Write whereas fuzzy or textual matches use Text as the kind.
Trait Implementations
type Params = DocumentHighlightParamstype Result = Option<Vec<DocumentHighlight>>Auto Trait Implementations
impl RefUnwindSafe for DocumentHighlightRequestimpl Send for DocumentHighlightRequestimpl Sync for DocumentHighlightRequestimpl Unpin for DocumentHighlightRequestimpl UnwindSafe for DocumentHighlightRequest