Exclude folder / find in path

Answered

I'm trying to exclude a build folder from search as per the post here:

https://stackoverflow.com/questions/29014063/ignore-a-folder-in-search-results

I'm following Darek Kays method - but it's not working.

I'm using IntelliJ 2018.

As you can see from the following screenshot files from the build folder continue to be shown despite the fact build is excluded - and marked as so red.

http://i.imgur.com/lmYLt64.png

 

Am I missing something?

 

 

3
1 comment

Hello,

There are generated files in "build" directory and they are under "generated sources root" which is not excluded. You could remove it manually in project settings or use custom scope for search.

-1

Please sign in to leave a comment.