Imagine you have a super important and widely-used class in your Kotlin-based project. It has the only constructor which is defined like that:
class MyAwesomeManager(argOne: String, argTwo: String)
For some reason, you need to quickly find all uses of its constructor. You're using Android Studio (or Intellj IDEA).
But... pressing Ctrl + LMB on its name gives a ton of rubbish results - uses in imports, companion object's fields calls etc. All the uses of a class, but not the constructor. The same for putting a cursor on its name and hitting Alt + F7.
So, how do I find all and only the usages of this primary constructor?
Alt+f7
as a second step. – Faltboat