Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Latest commit

 

History

History
38 lines (28 loc) · 1.08 KB

find-references.md

File metadata and controls

38 lines (28 loc) · 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.