Interface ImplementationProvider

Expand description

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

interface ImplementationProvider {
    provideImplementation(
        model: ITextModel,
        position: Position,
        token: CancellationToken,
    ): ProviderResult<Definition>;
}

Methods§

§

provideImplementation(
    model: ITextModel,
    position: Position,
    token: CancellationToken,
): ProviderResult<Definition>

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