robcowie / SublimeTODO

**[DEPRECATED]** - See https://github.com/jonathandelgado/SublimeTodoReview - Extract TODO-type comments from open files and project folders
295 stars 54 forks source link

folder_exclude_patterns relative to project root #77

Open kokokurak opened 8 years ago

kokokurak commented 8 years ago

I want to exclude /vendor folder, relative to the project root. In other words, not my-project/kitten/vendor, not my-project/some/very/deep/folder/vendor, but just my-project/vendor.

By default, if I put this to my .sublime-project file, all vendor folders are excluded:

"folders":
[
    {
        "folder_exclude_patterns":
        [
            "vendor"
        ],
        "name": "My Project",
        "path": "~/www/my-project"
    }
]

I would expect this to work as I need, but unfortunetely not:

"folder_exclude_patterns":
[
    "/vendor"
],

Is there any other way to put pattern relative to the folder?