https://github.com/ehamiter/st2-color-console
Provides a .tmLanguage to use syntax highlighting in Sublime Text 2's console
https://github.com/ehamiter/st2-color-console
Last synced: 9 months ago
JSON representation
Provides a .tmLanguage to use syntax highlighting in Sublime Text 2's console
- Host: GitHub
- URL: https://github.com/ehamiter/st2-color-console
- Owner: ehamiter
- Created: 2011-08-08T19:41:43.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-29T12:53:37.000Z (over 13 years ago)
- Last Synced: 2025-03-25T13:39:47.954Z (10 months ago)
- Language: Python
- Homepage:
- Size: 346 KB
- Stars: 20
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
###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.

###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.
###Installation
------------
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:
name
Source
scope
source.console
settings
fontStyle
foreground
#C5C8C6
Updated Sept 2012 by Charles Phillips
MIT Licensed. Use at your own risk.