I need to do a find in files. I want to ignore or exclude generated files, like JAX-WS artifacts or classes in target folders. How can I tell IDEA to exclude these files from the find?
The Find in Files feature has been enhanced with a new search scope, Project Files Excluding Git-Ignored. This option excludes any files ignored in
.gitignore
files from your search results, helping you focus only on the relevant code when searching through your project.
This will automatically take care of filtering out generated files, assuming they've been added to your gitignore.