Possible to mark all directories named 'build' as excluded?

I've been using the new feature in CLion 1.5 EAP that allows you to exclude certain folders from the global search and it is great. However what I immediately did was go through and select every folder named 'build' and manually exclude them (there are many, as they appear wherever I build something with Xcode or from the command line).  Is it possible to add a project or IDE-wide setting that would automatically exclude these folders named 'build' (or possibly some other pattern, ex. regex)?

In Sublime Test, I add the following to my Preferences.sublime-settings, which works quite nicely:

 "folder_exclude_patterns":
 [
    ".svn",
    ".git",
    "build"
 ],

Thanks,
Rich

4 comments
Comment actions Permalink

You can go to settings Editor | File Types, there is Ignore files and folders list. Add you set there.

2
Comment actions Permalink

Awesome, that was exactly what I was looking for. Thanks for pointing me to it!

Best,
Rich

0
Comment actions Permalink

Is it doable per project?
Say, I have one project where I want to mark all specific folders as ignore and another one which I don't want to have this rule.

0
Comment actions Permalink

Yes, mark directory as saves info per project. It's stored in the <project>/.idea/misc.xml file.

0

Please sign in to leave a comment.