0

I am able to select folders I would like to work on using different paths inside of the folders array in Projects settings. But what if I need only few folders from the folder templates? And I don't want to see others. How to perform this restriction?

Now have something like this:

"folders":
[
    {
        "path": "templates"
    },
    {
        "path": "js"
    }
]

In templates folder, for example, exist folder users. And I need restrict directories that should be show from there. folder_exclude_patterns: ['users/one', 'users/two'] doesn't work for me.

1 Answer 1

2

Write the folders' names you don't want to see under folder_exclude_pattern option.

"folders":
[
    {
        "path": "templates",
        "folder_exclude_patterns": [
            "i_dont_want_this_folder",
            "and this folder",
            "i_want_this/but not this"
        ]
    },
    {
        "path": "js"
    }
]
5
  • Actual problem is with subfolders. For example, if I need only folders one and two inside of templates/users. Slash doesn't work for me... That is why only top level folders is available for exclusion via folder_exclude_patterns Commented Jul 25, 2013 at 10:19
  • I think you are not doing it right. It works for me
    – Taylan
    Commented Jul 25, 2013 at 10:26
  • I've tried again. And it work. Sorry about that. Commented Jul 25, 2013 at 10:28
  • Did you find a way to exclude all subfolders of a specific folder?
    – Magne
    Commented Jul 3, 2014 at 15:00
  • Add this to folder_exclude_patterns "specific_folder/*"
    – Taylan
    Commented Jul 3, 2014 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .