I see that the Sublime Text theme (.config/sublime-text-2/Packages/Theme – Default/Default.sublime-theme) can be edited to make the open tab more obvious.
For that I use
{
"class": "tab_control", "attributes": ["selected", "file_medium_dark"],
"tint_modifier": [0, 255, 0, 32]
/* ... */
},
which makes the tab greener.
Is there a similar method for colouring the tab of an edited (unsaved) file/buffer?
Thanks.
After a little hunting around together with Mikko’s suggestion of looking at the change log:
In Settings-User opened from
Preferences | Settingsadd in the lineThis will make the tab text orange whenever there are unsaved changes to a file.
To change the color from orange, a bit of further digging around and experimentation was needed and revealed that editing the theme was one way to change the color from orange.
Theme files can be located in in the
Color Scheme - Default folderaccessed from the menuPreferences | Browse Packages...– you will have to make these changes for every theme that you’d like to change the text color for:It would be nice to be control the behavior of “selected” and “dirty” (=modified) separately. That might be possible with the layers, but I don’t understand those well enough yet.
Addenda
(1) The above is for dark themes. For a light theme, omit the
"file_medium_dark"from the attributes.(2) The same changes apear to work in Sublime Text 3 (~/.config/sublime-text-3/Packages/Default.sublime-theme).