https://kotlinlang.org logo
w

wasyl

07/28/2020, 7:16 AM
How to prevent IntelliJ from showing generated classes in
cmd+O
find classes
dialog (and in other places, like
find usages
)? The search is insanely polluted by all kinds of classes generated by Kapt, but I can’t seem to find a way of only searching in actual, non-generated sources. I feel like in Java it wasn’t an issue, but I might remember wrong
👀 1
z

Zach Klippenstein (he/him) [MOD]

07/28/2020, 2:36 PM
You can create a “scope” that excludes generated code.
👀 1
w

wasyl

07/29/2020, 7:11 AM
Thanks, that works 🙂 I set `file:src//*`but I’m not sure that’s actually the best pattern. Shame I can’t find a way to peek built-in patterns