Reputation: 2789
I have a bunch of auto generated Hilt class files showing when I try to find usage of a certain class (cmd + click in Mac). These classes are usually prefixed with Hilt + the class name requesting the hilt generation e.g: Hilt_LoginActivity
It's kind of annoying. How can I hide it from the find usage? Cheers
Upvotes: 5
Views: 1647
Reputation: 156
I used an answer from an old similar question about dagger here
But instead of *_MembersInjector.java; *_Factory.java;
add *_MembersInjector.java;*_HiltComponents_SingletonC.java;*_Factory.java;*Factory.java;
in the ignored file types.
Upvotes: 6