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 patter in the project nested folder strucutre. Intelli IDEA search the files in the project include target or dist folder in java.

So this posts answers the following questions

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

Intellij provides following features to search

  • Find menu item
  • Find usage menu item