Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DefinitionProvider

A definition provider implements the "go-to-definition" feature.

Hierarchy

  • DefinitionProvider

Index

Methods

provideDefinition

  • Provide the definition of the symbol at the given position and document.

    Parameters

    • document: TextDocument

      The document in which the command was invoked.

    • position: Position

      The position at which the command was invoked.

    Returns ProviderResult<Definition>

    A definition location, or an array of definitions, or null if there is no definition.

Generated using TypeDoc