Asad Khan
Asad Khan

Reputation: 513

IntelliJ IDEA code completion popup does not appear on Ctrl+Space after entering few arguments of method

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

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402533

Code completion is supposed to work differently, once you choose addUser from the popup, you will have something like this:

completion

Type the parameter values and press Enter to switch to the next one.

Parameter info can be shown automatically:

parameter info

or manually on Ctrl+P (View | Show Parameter Info):

parameter info

Code completion popup will appear after typing , next to the second parameter and pressing Ctrl+Space.

Upvotes: 2

Related Questions