Home Download Buy Blog Forum Support

[Ideas] Different tab colors for each file type + aging tabs

[Ideas] Different tab colors for each file type + aging tabs

Postby jitzo on Fri Nov 04, 2011 6:20 am

I'm not sure if this was suggested before, but could be very handy:
I use ST2 mostly for developing for the web, which means I always have PHP, JS, CSS files opened.
It could be very helpful to have each type of file a different background color, so it will be easier to distinguish them from each other.

One more suggestion that I have regarding tab colors - Aging tabs.
I actually got this idea from a firefox extension ( https://addons.mozilla.org/en-US/firefo ... ging-tabs/ ).
Imagine having many files opened, but some of them are not currently in use, it would be easier to distinguish the active ones from the others if the background of tabs that are not in use will start to fade away.

I've photoshopped a screenshot to demonstrate both suggestions:
Image

as you can see, CSS tabs are bluish, JS tabs are reddish, and I've left the PHP tabs gray.
The 2 last tabs are 'aged', and are faded out a bit.

I'd love to see these features in ST2 :)
jitzo
 
Posts: 3
Joined: Fri Nov 04, 2011 4:45 am

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby ajpalkovic on Fri Nov 04, 2011 6:42 pm

I love the idea of fading tabs out if they haven't been used.
ajpalkovic
 
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby Benoth on Sat Nov 05, 2011 5:12 pm

I love the idea too!
Benoth
 
Posts: 1
Joined: Sat Nov 05, 2011 5:11 pm

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby spadgos on Sat Nov 05, 2011 6:43 pm

+1 from me too.. sounds like it could be a very useful feature.
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby firefusion on Sat Nov 05, 2011 7:46 pm

I would need this useful. It would make a good plugin.
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby tretretre on Sat Nov 05, 2011 9:20 pm

Would be very useful, would really like if it was possible to use different color for different file types in the sidebar as well (and in ctrl+p).
tretretre
 
Posts: 23
Joined: Fri Oct 21, 2011 7:13 pm

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby jitzo on Mon Dec 19, 2011 2:46 am

I've added these ideas to the userecho system, as requested by jps.

I'm happy to see that others like these ideas, please vote for them in these links:

http://sublimetext.userecho.com/topic/86802-different-tab-colors-for-each-file-type/
http://sublimetext.userecho.com/topic/86803-inactive-tabs-ages-and-fades-until-used-again/

Thanks!
jitzo
 
Posts: 3
Joined: Fri Nov 04, 2011 4:45 am

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby Grant on Fri Jan 20, 2012 2:55 pm

According to this post by Alan Bargi on userecho:
It's now possible (in Dev builds) to have this but needs a little bit of tweaking.
create filetype specific settings and give them each a different color-scheme. or change the background color of a single theme and save it with another name and assign it to a specific filetype. this way you can have different tab colors for each file type here is mine:

Image


I've seen at least one other post with it apparently working.

What is the syntax for this? Where does it get configured?

Thanks
Grant
 
Posts: 68
Joined: Fri Jan 20, 2012 2:42 pm

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby Grant on Tue Jan 24, 2012 1:08 pm

Ok, I figured it out. All it took was reading the post.

  1. Open up a couple files of different types (*.py, *.html, *.cpp, etc) or simply open a few "new file"s and assign each of them a different syntax.
  2. When each of them is selected, click "Preferences" -> "File Settings - More" -> "Syntax Specific - User" to open up a new blank *.sublime-settings file.
  3. Add a line like
    Code: Select all
    {
       "color_scheme": "Packages/Color Scheme - Default/Eiffel.tmTheme"
    }
    or
    Code: Select all
    {
       "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme"
    }

    to each *.sublime settings file and save them.
  4. Dance in your seat. :D
Grant
 
Posts: 68
Joined: Fri Jan 20, 2012 2:42 pm

Re: [Ideas] Different tab colors for each file type + aging tabs

Postby SeanWcom on Tue Jan 24, 2012 2:51 pm

Added my vote, this is a great idea! And the workaround will suffice, but I'd prefer a better way that doesn't involve duplicated themes. :)
Multiple selections... one of my favorite ST2 features. View some noob-friendly screen casts here.
SeanWcom
 
Posts: 101
Joined: Wed Aug 03, 2011 1:31 am
Location: Georgia

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests

cron