Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReferenceProvider

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

Hierarchy

  • ReferenceProvider

Index

Methods

provideReferences

  • Provides a set of workspace-wide references for the given position in a document.

    Parameters

    • document: TextDocument

      The document in which the command was invoked.

    • position: Position

      The position at which the command was invoked.

    • context: ReferenceContext

      Additional information and parameters for the request.

    Returns ProviderResult<Location[]>

    An array of reference locations.

Generated using TypeDoc