Reputation: 2669
Is it possible to set up Intellij to auto complete a type when you new up an object. for example i type
String name = new
If i hit CTRL + SHIFT + Space it adds the type like
String name = new String();
I'd like it to do this automatically when i hit space after the new keyword
Upvotes: 0
Views: 1129
Reputation: 402493
Consider using Introduce Variable refactoring instead as described in this answer.
Upvotes: 2