DocumentHighlightProvider
The document highlight provider interface defines the contract between extensions and the word-highlight-feature.
Functions
Link copied to clipboard
abstract fun provideDocumentHighlights(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<ReadonlyArray<DocumentHighlight>>
Provide a set of document highlights, like all occurrences of a variable or all exit-points of a function.