Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 2 KB

###Sublime Text 2 Color Console This will allow you to see the output of Sublime Text 2's console in a (more-or-less) unified syntax highlighting scheme based on your current theme. It's based directly off of the Python and Django standard .tmLanguage files. I've found this to help find something visually much faster, since it mirrors the code it references.

color console

###Caveats I've removed any references to any deprecated, illegal, or invalid flags, so as not to completely red-line a text string that may not "look" right. This still needs work-- you'll notice if it encounters a multi-line string that does not terminate, the rest of the console will be highlighted with a string's set color. Also, a few "key" words have been added to attempt to unify common phrases used in the console, i.e. "Searching X files for 'word'" highlights the keyword "for", so I've added "Searching", "files", and "case sensitive" to maintain the coloring.


Install into your ST2 Packages folder as normal. Then run Color Console: Enable from the command palette. This will create a Widget.sublime-settings file that changes the console syntax hilighting to the current theme. After creation, the settings file is opened, for if you would like to change the console to a different theme.

A shortcut to edit the Widget.sublime-settings file is available from Preferences -> Package Settings -> Color Console.

Optional: Select the color for the undefined console text in your current .tmTheme:

      <string>#C5C8C6</string><!--console's non-defined text-->

Updated Sept 2012 by Charles Phillips

MIT Licensed. Use at your own risk.