Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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"
    }
]
share|improve this answer
    
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 –  InviS Jul 25 '13 at 10:19
    
I think you are not doing it right. It works for me –  T-- Jul 25 '13 at 10:26
    
I've tried again. And it work. Sorry about that. –  InviS Jul 25 '13 at 10:28
    
Did you find a way to exclude all subfolders of a specific folder? –  Magne Jul 3 at 15:00
    
Add this to folder_exclude_patterns "specific_folder/*" –  T-- Jul 3 at 15:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.