Sublime Forum

Colors in console?

#1

It would be GREAT if the console would have some type of colors scheme…

Either a way to specify them or just use it bold for titles.

Currently it’s quite difficult to read when it’s a lot of text.

Thanks!

0 Likes

#2

I agree with this too.

SciTE allows you to prefix console messages with operators, which change the colour of the line.

!> is red for example.

is blue.
-> is green

Etc etc

0 Likes

#3

Share the love?

0 Likes

#4

And buymeasoda gave us a Soda version for Dark and Light…

:blush:

0 Likes

#5

And markers for code folding, bracket folding etc etc :smiley:

0 Likes

#6

I can take a look a this, but what else besides the Python tracebacks could be higlighted? Output can basically be anything, right?

0 Likes

#7

Hahaha! LOL!

But you missed his schedule from 12:00 am to 4:00 am where he can’t resist posting on the forums, probably in his private retreat in the Tuscany where he’s flown in his private jet.

About selective highlighting of output, that’d be pretty cool.

0 Likes

#8

Very cool! Here’s an idea, not sure how easily this would be implemented… could the settings be dynamically loaded depending on which file syntax is called?

Ideally like this, but you’d have to probably write a plugin to take in the scope and return the right definition:

"syntax": "Packages/{{Language}}/{{Language}}.tmLanguage",

And then, you do a find in folders for “foobar”, and each set has it’s own unique syntax:

/Users/ehamiter/project/api/views.py:
67 message = “OK”
68 try:
69: if request.user.has_perm(“user.foobar”):
70 delivery = Delivery.objects.get(whatever)
71

/Users/ehamiter/project/db/12345.sql:
632 (
633 @package_PWCEO_id,
634: ‘foobar’,
635 ‘true’,
636 now(),

/Users/ehamiter/project/scripts/grid.js:
14: var foobar = document.getElementById(layer);
15: if(foobar.style.display==“none”){
16: foobar.style.display=“block”;
17: foobar.backgroundPosition=“top”;
18 } else {

etc…

0 Likes

#9

Output highlighting could be extremely useful for example in execution of unit test cases.

I dont know about python, but it’s extremely useful having the red and green colors on test unit executions output, as the tests pass or not.

The no “input”, no “formatted output” (html panel for example) and no “execute code with the output appended to the file code or markers along the code” are the only “problems” of sublime that makes me stick with textmate.

0 Likes