Sublime Forum

Bold Folders and Highlight Modified Tabs not working?

#1

Added both to my user prefs, restarted, but they don’t seem to be making any difference…

“bold_folder_labels”: true,
“highlight_modified_tabs”: true,

Am I doing something wrong?

Thanks.

0 Likes

#2

It didn’t work for me until I made sure I was using the Monokai theme.

If I was using the Soda theme, those tweaks would not show up.

0 Likes

#3

That’s unfortunate. I use a modified Soda theme with custom tabs and whatnot, so I’m not interested in ditching that.

0 Likes

#4

Simply add the following code in your theme file:

{
    "class": "sidebar_label",
    "parents": {"class": "tree_row", "attributes": "expandable"]}],
    "settings": "bold_folder_labels"],
    "font.bold": true
},

{
“class”: “tab_label”,
“parents”: {“class”: “tab_control”, “attributes”: “file_dark”]}],
“attributes”: “dirty”],
“settings”: “highlight_modified_tabs”],
“fg”: [255, 161, 52]
},

The “fg” attribute in the 2nd object is an RGB value that controls the colour of the tab label only, amend as needed. I’ve not had much more time to fiddle with it unfortunately, so I can’t be anymore help right now but look how the default theme is done, it should have all the features available.

On my Windows machine, my Soda theme is located here:
C:\Users\YourUserAccount\AppData\Roaming\Sublime Text 2\Packages\Theme - Soda\Soda Dark.sublime-theme

0 Likes

#5

I’ve got 2.0 (build 2210) on two different OSX (Lion) machines. On one machine, simply adding "highlight_modified_tabs":true to my user prefs results in the tab highlighting. On the other machine, it doesn’t.

0 Likes

#6

Didn’t see this update before. Thanks for the help cresus18. Will give it a try!

0 Likes