Reputation: 513
Suppose I have a method:
addUser(String userid, String email, String phoneNo){..}
When I write only two arguments addUser("martin","[email protected]"
and press Ctrl+Space then IntelliJ IDEA does not show the arguments that are accepted by this method.
Instead I need to remove them and type api.
Ctrl+Space.
Upvotes: 2
Views: 275
Reputation: 402533
Code completion is supposed to work differently, once you choose addUser
from the popup, you will have something like this:
Type the parameter values and press Enter to switch to the next one.
Parameter info can be shown automatically:
or manually on Ctrl+P (View
| Show Parameter Info
):
Code completion popup will appear after typing ,
next to the second parameter and pressing Ctrl+Space.
Upvotes: 2