ReferenceProvider

The reference provider interface defines the contract between extensions and the find references-feature.

Online Documentation

Functions

Link copied to clipboard
abstract external fun provideReferences(document: TextDocument, position: Position, context: ReferenceContext, token: CancellationToken): ProviderResult<ReadonlyArray<Location>>

Provide a set of project-wide references for the given position and document.