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

Outline

by warmdev ST3

Outline view for Sublime Text 3

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Outline for Sublime Text 3

Overview

Inspired by FileBrowser, this package shows the outline of your document or class/function name list of your code 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 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”:

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