IntelliJ is not been too smart when instantiating objects Follow
Take a look at the screenshot:
What I would expect is that DecimalFormat is at the top of the list... all things that appear in the top are even not compatible types with the object I'm trying to instantiate.
Is there a way to make it work as I want? I usually write new Class(...) first and then Ctrl+Alt+V, which makes things even faster... however, I'd like to see it working if I first declare de object and then instantiate it.
Thanks a lot...
Please sign in to leave a comment.
just use: Ctrl + Shift + Space
Thanks! That worked like a charm.
you are welcome,
for even more fun, see also this post: