Search This Blog

Saturday, January 17, 2015

Intellij file mask exclude; IntelliJ search files exclude file type; search files exclude file by extension

There is a simple way to exclude files by extension (in fact by using regular expressions on file names in IntelliJ 14 and Android Studio 1.0)

When searching in file content (ctrl+shift+F) limit the scope of search to Custom
and click '...'  to create a new scope.

Shared scopes are stored in: .idea/scopes/
and are shared between team members.

Custom search scope example for Android Annotations:


search in all java source files without files and generated annotations.

If you want to include strings.xml etc. use this search pattern: