Disable indexing directory by wildcard
I have a lot of the same named directories in several different projects, so instead of having to go into each project directory and finding the directories to exclude, I want to do a wildcard on that directory... similar to how it's done in a .gitignore. If I want to exclude all build directories below the current level directory tree, I'd simply do /path/to/workspace/bin/. Is this possible?
Please sign in to leave a comment.
Hi there,
>Is this possible?
Unfortunately not.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-150784 and https://youtrack.jetbrains.com/issue/IDEA-127753.
Note also that you can use 'Ignore files and folders' option to exclude file/folder by name - see https://youtrack.jetbrains.com/issue/IDEA-127753#comment=27-868409
Thank you for the replies! I have voted for both issues. Elena, the other link that you provided is an interesting solution, but the only issue is that it completely removes the directories from the project explorer... there still might be times where I need to edit files in those dirs; I just don't want them indexed. Thanks anyway!