Home Download Buy Blog Forum Support

API Suggestion: Coloring of line numbers for lint, git etc

API Suggestion: Coloring of line numbers for lint, git etc

Postby gregor.hoch on Sun Apr 06, 2014 7:26 am

With BracketHighlighter, linter and gitgutter, the gutter gets pretty crowded these days. I saw that Atom supports both a gutter indicator and the coloring of line numbers. That would be a great addition for ST! BracketHighlighter could go to the gutter and the linter or gitgutter could color the line numbers red and yellow.
gregor.hoch
 
Posts: 144
Joined: Sat Oct 01, 2011 7:54 pm

Re: API Suggestion: Coloring of line numbers for lint, git etc

Postby jbrooksuk on Sun Apr 06, 2014 10:04 am

I'd like this too!

I think this feature in Atom just makes the whole sidebar far superior.
jbrooksuk
 
Posts: 773
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: API Suggestion: Coloring of line numbers for lint, git etc

Postby valerij_ on Mon Apr 07, 2014 10:48 am

coloring the lines already works via 'regions', yet the ability to add a gutter for specific purpose would be useful, as each plugin could have a gutter of its own and coexist
valerij_
 
Posts: 40
Joined: Fri Feb 14, 2014 5:59 pm

Re: API Suggestion: Coloring of line numbers for lint, git etc

Postby bizoo on Mon Apr 07, 2014 11:12 am

gregor.hoch wrote:...coloring of line numbers...

not the complete line.

It's a nice feature but the issue will be the same when more than one plugin want to color the line number.
I like to have more than one gutter icon (but no more than x (like 3) to not overflow) at the same time, maybe they could overlap a little to reduce the size.
Adding a priority list settings to choose which ones you want could be great too.
bizoo
 
Posts: 883
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: API Suggestion: Coloring of line numbers for lint, git etc

Postby jbrooksuk on Tue Apr 08, 2014 8:27 am

bizoo wrote:
gregor.hoch wrote:...coloring of line numbers...

not the complete line.

It's a nice feature but the issue will be the same when more than one plugin want to color the line number.
I like to have more than one gutter icon (but no more than x (like 3) to not overflow) at the same time, maybe they could overlap a little to reduce the size.
Adding a priority list settings to choose which ones you want could be great too.

I think having the line number itself highlighted, so it turns green for an addition or red for deletion (in terms of Git) then other plugins can overlay icons on top would be great.
jbrooksuk
 
Posts: 773
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: API Suggestion: Coloring of line numbers for lint, git etc

Postby gregor.hoch on Tue Apr 08, 2014 10:14 am

Yes, I was also referring to the line numbers and not the entire lines. The idea is that git could color the line numbers (as mentioned, red for deletion, green for addition etc) and other plugins such as BracketHighlighter could use the gutter to place an icon there (as they do right now). Alternatively, the line numbers could be colored by the linter.

This approach would at least provide two ways to show things on the side, which is a bug progress. Plugins could provide an option to choose which one is used.
gregor.hoch
 
Posts: 144
Joined: Sat Oct 01, 2011 7:54 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 35 guests