Last Updated: February 25, 2016
·
359
· stevehalford

Edit name of folders added to a ST2 project

I had to add two folders with the same name to a Sublime Text 2 project but had no way to distinguish between the two when they were in the sidebar.

To fix it, I worked out you could specify a name in the ST2 project file (Project -> Edit Project...) like this:-

{
    "folders":
    [
        {
            "path": "/Users/steve/Sites/foo"
        },
        {
            "path": "/Users/steve/Sites/bar"
        },
        {
            "name": "Foo - Resources",
            "path": "/Users/steve/Sites/foo/resources"
        },
        {
            "name": "Bar - Resources",
            "path": "/Users/steve/Sites/bar/resources"
        }
    ]
}

Apparently it is documented, but who reads documentation?