"Find In Path" Question - how to ignore dirs?

When I run "find in path" sometimes it returns results from my build directory (I use Ant to build my project - not Intellij). Since any changes I make to that directory will be lost the next time I build I always have to be very careful to not do my edits in anything I find inside the build dir. Is there any way to configure "Find In Path" so that I can ignore a directory? I actually have a couple of directories that I'd like to ignore so ideally it would be a "pick and choose" kind of thing. But if I were only able to ignore the build dir I'd be happy.

2 comments

I believe if you "exclude" the directory in Settings/Modules//Paths it will be ignored. "Kevin" ]]> wrote in message
news:33378557.1127920331580.JavaMail.itn@is.intellij.net...

When I run "find in path" sometimes it returns results from my build
directory (I use Ant to build my project - not Intellij). Since any
changes I make to that directory will be lost the next time I build I
always have to be very careful to not do my edits in anything I find
inside the build dir. Is there any way to configure "Find In Path" so
that I can ignore a directory? I actually have a couple of directories
that I'd like to ignore so ideally it would be a "pick and choose" kind of
thing. But if I were only able to ignore the build dir I'd be happy.



0

Please sign in to leave a comment.