Home Download Buy Blog Forum Support

Colors in console?

Colors in console?

Postby bazuka on Fri Jul 22, 2011 10:14 am

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!
bazuka
 
Posts: 4
Joined: Fri Jul 22, 2011 10:12 am

Re: Colors in console?

Postby jbrooksuk on Fri Jul 22, 2011 10:42 am

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
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Colors in console?

Postby jbrooksuk on Thu Jul 28, 2011 7:54 am

sublimator wrote:[..]

Share the love?
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Colors in console?

Postby jbrooksuk on Thu Jul 28, 2011 8:07 am

sublimator wrote:And Guillermoo gave us a 'Cooooool console.tmLanguage' Then there would be love abounds!

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

:oops:
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Colors in console?

Postby jbrooksuk on Thu Jul 28, 2011 8:31 am

sublimator wrote:I'm waiting for Sublime 3 where you'll be able to set specific regions to include grammars ;) Hurry up Jon!

And markers for code folding, bracket folding etc etc :D
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Colors in console?

Postby guillermooo on Thu Jul 28, 2011 8:37 am

I can take a look a this, but what else besides the Python tracebacks could be higlighted? Output can basically be anything, right?
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: Colors in console?

Postby guillermooo on Thu Jul 28, 2011 9:53 am

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.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: Colors in console?

Postby ehamiter on Thu Jul 28, 2011 6:21 pm

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:

Code: Select all
"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...
ehamiter
 
Posts: 67
Joined: Wed Apr 27, 2011 2:42 am

Re: Colors in console?

Postby joaodrp on Fri Aug 19, 2011 6:07 pm

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


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.
joaodrp
 
Posts: 31
Joined: Fri Jul 29, 2011 11:29 am

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests