5

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

enter image description here

It's kind of annoying. How can I hide it from the find usage? Cheers

Red M
  • 2,609
  • 3
  • 30
  • 50

1 Answers1

6

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.

Khaled Ahmed
  • 156
  • 3
  • 7