Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Guess" method arguments in IntelliJ IDEA

Eclipse has a feature, where it "guesses" arguments for a method call, based on types (and probably variable names?). Is there an equivalent in IntelliJ? I know Smart Complete should be capable of completing multiple arguments, but it doesn't work as good (especially when there is more than one String argument for example).

EDIT: It's called "Insered best guessed arguments" in Eclipse.

like image 285
Michał Bendowski Avatar asked Aug 04 '11 12:08

Michał Bendowski


2 Answers

There is Ctrl+Shift+Space (Smart-Type, I think), but as of this writing, it's crap and doesn't go the whole hog.

Despite being an Eclipse fan, I've always openly acknowledge that if Eclipse can do it, IntelliJ can probably do it better... not this time, how dissappointing q(`_`!)p

like image 198
Darren Bishop Avatar answered Oct 16 '22 03:10

Darren Bishop


IDEA doesn't support it, see the related feature request.

like image 21
CrazyCoder Avatar answered Oct 16 '22 03:10

CrazyCoder