6

I find this extremely annoying that you often do not get help with figuring out the parameter signatures of methods and contructors when you have already written the first parameter.

Instead Intellij will show the variables available to you in your context. This is good, but not the first prio. I want to see the signature of the method/constructor as well.

This has the consequence that you always have to keep deleting and CTRL + SPACE to see the signature.

Is there a way around this issue?

mjs
  • 21,431
  • 31
  • 118
  • 200

2 Answers2

19

You don't have to press Ctrl+P, you can configure IDEA to always show this information:

Go to Settings > Editor > General > Code Completion

Select the Show full signatures and Autopopup in (ms:) boxes.

Intellij Idea - Configure-Editor-Code-Completion

TT--
  • 2,956
  • 1
  • 27
  • 46
Software Engineer
  • 15,457
  • 7
  • 74
  • 102
10

You can press Ctrl+P to show the signature(s) of the method/constructor, see this link for more details:

https://www.jetbrains.com/idea/webhelp/viewing-method-parameter-information.html

Software Engineer
  • 15,457
  • 7
  • 74
  • 102
Bohuslav Burghardt
  • 33,626
  • 7
  • 114
  • 109