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

Latest commit

 

History

History
40 lines (29 loc) · 1.12 KB

outline-view.md

File metadata and controls

40 lines (29 loc) · 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.