4

Is here a way to list all Kotlin extension functions in a project / module in Android Studio?

I've seen this way to list all extension functions for one class but nothing for all classes.

Oliver Metz
  • 2,712
  • 2
  • 20
  • 32

1 Answers1

1

Although this is an old question, I came up with a solution using regex in Android Studio search that might be useful.

^(private|internal|public)? fun (.*\.)

But this doesn't cover the case where we don't have the visibility modifier explicitly, so it might be necessary searching for

^fun (.*\.)

as well.