This is driving me nuts - I could have sworn that IntelliJ had a feature that could find extension methods and auto-complete them in Java, including when they're defined in Java (i.e. it recognized the static utility class pattern). I remember reading the blog posts about it and everything. But now no matter what I try I can find no trace of this feature, nor the blog posts, nor is there any mention in the docs.
Did I somehow dream an IntelliJ feature and then believe it was real, or is there really a way to do this? I'd love to define extension methods in Java that are postfix completable for both Java and Kotlin users.
s
Szymon Jeziorski
10/24/2024, 12:34 PM
I'm not sure if that's what you're after, but you can get kotlin extensions / java static utils as postfix suggestion on Control + space + space
m
mikehearn
10/24/2024, 12:52 PM
It does exist!! Thank you!
mikehearn
10/24/2024, 12:52 PM
I think my confusion is due to all the auto-completion modes. I was pressing Ctrl-shift-space or similar, and then it doesn't appear.
mikehearn
10/24/2024, 12:53 PM
Is there a way to change the default completion mode to be "full fat", do you know? I wonder also if there's a way to make this feature automatically add a static import, hmm