This post talks about how to exclude files or extensions and folders from a search in Intelli IDEA.

Search in the files search for a given string or regex pattern in the project nested folder structure. Intelli IDEA searches the files in the project including the target or dist folder in Java.

So this post answers the following questions

  • Find in Files to ignore generated files?
  • Exclude a folder from a searching the given string
  • exclude file types and extensions from find usage.
  • find files in the project directory tree while ignoring specific files.

IntelliJ provides following features to search.

  • Find the menu item
  • Find the usage menu item