Outline for Sublime Text 3
Inspired by FileBrowser, this package shows the outline of your document or class/function name list of your code in a sidebar-style tab.
Install via Package Control
This package is available on Package Control. Search for
- Clone or download this repository to your hard drive using the green
Clone or downloadbutton
- Rename the cloned or extracted folder to
Outline. Make sure
outline.pyis at the root of the
- Move the
Outlinefolder to your Sublime Text's
Packagesfolder. To find the
Packagesfolder, click menu
- Restart Sublime Text, and press
Ctrl + Shift + Pto select your preferred layout (
The outline tab can be set as a sidebar on the left or right. Press
Ctrl + Shift + P and select either
Browse Mode: Outline (Left) or
Browse Mode: Outline (Right) to set your preferred layout.
If you also use FileBrowser, you can use both in three different layouts:
Outline together, please close the
FileBrowser sidebar first and then use the correponding
Browse Mode command to set the layout, otherwise the
Outline view may not work as intended.
Outline has two built-in color themes: Bright (default theme) and Dark. To switch to the Dark theme, add the following to your user settings file. Open the user settings file by "Preferences > Package Settings > Outline > Settings" (Sublime Text version 3124 or later), or "Settings - User":
-Dark or remove the entire line to return to the bright theme. To customize your own color theme, see this issue.
Outline content and indentation
Outline is updated when you save a file or switch between files.
Content and indentation in the
Outline tab is controlled by the
Symbol List.tmPreferences file (file name may differ) corresponding to the syntax of your file.
- This package may not work if you use a multi-column/row layout.
This plugin is licensed under the MIT license.