Sublime Forum

Highlight specific folders/files in side bar

#1

I would like Sublime Text 2 to always highlight specific folder or file names in the sidebar as a visual aid.

For instance, folders “models”, “views” and “controllers” each have different background colors.

I can’t seem to find anything in settings that enables conditional formatting.

Something along the lines of:

{
    "folders":
    
        {
            "path": "models",
            "layer0.texture": ".../sidebar-row-green.png",
            ...
        }
    ]
}

Thank you.

0 Likes

Ctrl + Tab and Ctrl + 1/2/3
#2

Did anyone ever figure out if it was possible to do conditionals like this? It’s a brilliant idea.

I’d love to use if for learning (to highlight certain files in a complicated app).

0 Likes