How do I get Android Studio to stop returning generated code in search results?

The way I’ve been doing to ignore generated classes in advanced search is adding !file:*intermediates*/&&!file:*generated*/&&!lib:*..* to a new Custom Scope, like this:

enter image description here

14-October-2015 Update: I have improved the pattern by also excluding the !lib:*..* from the search. Thanks.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)