ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Outline

by warmdev ST3

Outline view for Sublime Text 3

Details

Installs

  • Total 22K
  • Win 11K
  • Mac 6K
  • Linux 5K
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4
Windows 3 11 5 1 3 5 2 2 2 0 2 2 3 3 1 4 2 0 1 2 0 2 0 2 1 0 4 4 2 1 2 1 1 5 3 1 1 1 1 2 3 5 1 3 0 3
Mac 0 2 0 0 1 3 1 2 2 1 0 5 1 4 1 1 0 0 1 1 1 0 1 0 0 2 1 0 5 0 0 0 1 1 0 2 0 0 0 1 1 0 3 0 1 1
Linux 1 2 1 1 4 2 0 1 0 0 0 0 0 0 2 3 0 2 2 0 2 0 2 0 0 2 1 2 0 0 0 0 4 0 1 1 0 0 0 2 1 0 0 1 0 1

Readme

Source
raw.​githubusercontent.​com

Outline for Sublime Text 3

Overview

Inspired by FileBrowser, this package shows the outline of your file, class/function name list of your code, or table of content/toc of your markdown/LaTeX document in a sidebar-style tab.

Screenshot

Installation

Install via Package Control

This package is available on Package Control. Search for Outline.

Manual installation

  1. Clone or download this repository to your hard drive using the green Clone or download button
  2. Rename the cloned or extracted folder to Outline. Make sure outline.py is at the root of the Outline folder.
  3. Move the Outline folder to your Sublime Text's Packages folder. To find the Packages folder, click menu Preferences > Browse Packages.
  4. Restart Sublime Text, and press Ctrl + Shift + P to select your preferred layout (Browse Mode)

Default 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:

  • FileBrowser left, Outline right
  • FileBrowser top left, Outline bottom left
  • FileBrowser top right, Outline bottom right

To use FileBrowser and 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.

Color theme

Outline can be configured to use the current editor color scheme. To do so, change the setting below:

"outline_inherit_color_scheme": true

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”:

"outline_inherit_color_scheme": false
"color_scheme": "Packages/Outline/outline-Dark.hidden-tmTheme"

Remove -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.

Known issue

  • This package may not work if you use a multi-column/row layout.

License

This plugin is licensed under the MIT license.