Last Updated: April 12, 2019
·
2.256K
· delorenj

Try editing your .sublime-project file to better organize your workspace!

Create a project structure custom tailored for your project framework.

In this case, Symfony =)

Picture

A HUGE advantage of this is the optimization it provides to Sublime's not-so-awesome advanced search filter. Not you can easily search through only files and directories you want. Just define them as a set!

{
    "folders":
    [
        {
            "name": "Root",
            "path": "/Applications/MAMP/htdocs/project-dir",
            "folder_exclude_patterns": ["app/cache", "app/logs", "node_modules"]
        },
        {
            "path": "assets",
            "name": "Assets",
            "folder_exclude_patterns": ["assets/css"]
        },
        {
            "path": "src/namespace",
            "name": "Bundles",
            "file_exclude_patterns": ["*~"]

        },
        {
            "path": "app/config",
            "name": "Configs"
        },  
        {
            "path": "web",
            "name": "Public",
            "file_exclude_patterns": ["*.swf", "*.txt", "*.ico"],
            "folder_exclude_patterns": ["css", "js"]
        }
    ]
}

1 Response
Add your response

Where do I put this file?

over 1 year ago ·