whatyouhide
whatyouhide

Reputation: 16781

Per-project Sublime Text 2 settings

My per-project Sublime Text 2 settings seem to not override the global settings. I added this lines inside "settings" inside my myproj.sublime-project:

"file_exclude_patterns": ["config.xml"]
"folder_exclude_patterns": [".git", ".metadata"]

but that did not prevent those folders/files from showing up on the project sidebar. None of the files/folders above are mentioned in my global settings.

Is it a known Sublime issue? Am I doing something wrong?

Upvotes: 2

Views: 779

Answers (1)

dusan
dusan

Reputation: 9273

You have to add those settings under folders (example taken from here):

{
    "folders":
    [
        {
            "path": "src",
            "folder_exclude_patterns": ["backup"]
        },
        {
            "path": "docs",
            "name": "Documentation",
            "file_exclude_patterns": ["*.css"]
        }
    ]
}

Upvotes: 4

Related Questions