I basically modified a Python/Django.tmLanguage file and pointed the console toward it. This may look great or horrible for you-- I'm mostly a Python guy so most of my code looks pretty good in it. I would be more than open to accepting all kinds of edits to this to allow a kind of universal Console.tmLanguage. I think this is okay for a first draft so to speak, but it could definitely use improvement.
...and this will allow you to set your syntax coloring for non-defined text if you want to throw this in your current .tmTheme:
- Code: Select all
<string>#C5C8C6</string><!--console's non-defined text-->