Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
38 lines (28 sloc) 1.08 KB

Find References

Use the find-references:activate command to find references at the current editor location.

Find all usages of a symbol with Find References

A scrollable list of all references, with context, will be displayed in a new pane alongside the active editor.

You can configure the default location of the Find References pane via the "atom-ide-find-references" section in the atom-ide-ui package settings.

Service API

You can provide the Find References Atom service by adding the following to your package.json:

"providedServices": {
  "find-references": {
    "versions": {
      "0.1.0": "provideReferences"
    }
  }
}

Then, in your package entry point, add:

export function provideReferences(): FindReferencesProvider {
  return ...
}

The return value must be a FindReferencesProvider object as defined in atom-ide-find-references/lib/types.js.

You can’t perform that action at this time.