# Inspect outline of a document in CotEditor on Mac

The CotEditor’s Outline feature extracts specific parts of your document and generates a list according to the definition of the syntax.

The generated outline is shown in the navigation bar and the inspector.

## Display Outline menu

The Outline menu is a pop-up menu appears in the navigation bar located above the editor. The menu shows the nearest Outline item above the insertion point. By selecting an item in the menu, the editor moves the insertion point to the corresponding part and scrolls.

To show the Outline menu:

1. Choose View > Show Navigation Bar.

## Show Outline inspector

The Outline inspector is a table-style list that appears in the Outline pane in the inspector of the document. You can get a quick overview of the document’s outline like a table of contents and move to the corresponding part in the editor by clicking an item in the list.

To show the Outline inspector, perform either of the followings:

- Choose View > Inspector > Outline.
- Select Inspector in the document toolbar, and then select the Outline pane represented in the list icon.

## Move among Outline items

You can move the insertion point in the editor to the previous/next Outline item by choosing Find > Select Previous/Next Outline Item.

## Customize extraction rules

The rules, what items should appear and how they should be titled in the Outline list, are set per syntax. You can configure them in the Syntax definition > outline settings.

## See also

- Define a syntax
- Define Outline extraction rules