<link rel="stylesheet" href="/_merged_assets/_static/search/noscript.css">
Atom Community Logo Atom Community API Getting Started Toggle darkmode

Go to Definition GitHub

A replacement of the go to definition functionality from atom-ide-ui.

screenshot of definitions feature

API

Definition

Properties

language

string

name

(optional)
string

path

string

position

Point

projectRoot

(optional)
string

range

(optional)
Range

DefinitionPreviewProvider

Methods

getDefinitionPreview

Parameters

definition
Definition

Returns

Promise<undefined|null|
  >

DefinitionProvider

Properties

getDefinition


  

grammarScopes

readonly string[]

name

string

priority

number

wordRegExp

undefined|null|RegExp

DefinitionQueryResult

Properties

definitions

readonly Definition[]

queryRange

undefined|null|readonly Range[]