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
40 lines (29 sloc) 1.12 KB

Outline

Use the outline-view:toggle command to open the Outline panel.

Outline

The Outline feature displays a tree view of all symbols in the active editor, along with the ability to filter on a search keyword and jump to selected symbols.

You can also select the editor range corresponding to an outline view entry by simply double-clicking it.

Service API

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

"providedServices": {
  "outline-view": {
    "versions": {
      "0.1.0": "provideOutlines"
    }
  }
}

Then, in your package entry point, add:

export function provideOutlines(): OutlineProvider {
  return ...
}

The return value must be a OutlineProvider object as defined in atom-ide-outline-view/lib/types.js.

Outlines are normally re-fetched after every edit, but you can provide an updateOnEdit field of false to only re-fetch on save.

You can’t perform that action at this time.