Enum languageserver_types::request::DocumentHighlightRequest [−][src]
pub enum DocumentHighlightRequest {}
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 Textas the kind.
Trait Implementations
impl Debug for DocumentHighlightRequest
[src]
impl Debug for DocumentHighlightRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Request for DocumentHighlightRequest
[src]
impl Request for DocumentHighlightRequest
type Params = TextDocumentPositionParams
type Result = Option<Vec<DocumentHighlight>>
const METHOD: &'static str
METHOD: &'static str = "textDocument/documentHighlight"
Auto Trait Implementations
impl Send for DocumentHighlightRequest
impl Send for DocumentHighlightRequest
impl Sync for DocumentHighlightRequest
impl Sync for DocumentHighlightRequest