Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DefinitionLink

Information about where a symbol is defined.

Provides additional metadata over normal location definitions, including the range of the defining symbol

Hierarchy

  • DefinitionLink

Index

Properties

Optional originSelectionRange

originSelectionRange: Range

Span of the symbol being defined in the source file.

Used as the underlined span for mouse definition hover. Defaults to the word range at the definition position.

targetRange

targetRange: Range

The full range of the definition.

For a class definition for example, this would be the entire body of the class definition.

Optional targetSelectionRange

targetSelectionRange: Range

The span of the symbol definition.

For a class definition, this would be the class name itself in the class definition.

targetUri

targetUri: Uri

The resource identifier of the definition.