DeclarationProvider

The declaration provider interface defines the contract between extensions and the go to declaration feature.

Online Documentation

Functions

Link copied to clipboard
abstract external fun provideDeclaration(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<Declaration>

Provide the declaration of the symbol at the given position and document.