the_velour_fog
the_velour_fog

Reputation: 2184

Is there a way to bring up the method signatures in Phpstorm's autocomplete?

As per most IDE's, PhpStorm will bring up a list of matching options when you type part of a function (assuming the IDE is configured properly etc).
PhpStorm, will also show the function signature, which is ideal, for giving hints when you have a function that accepts lots of parameters, e.g. database connection functions like mysqli_connect.
However, the moment you "select" the function for autocompletion, either by ctrl + spacebar or selecting from dropdown menu, the method signature and parameter hinting disapears.

Ive tried:

Is there a way to bring the method signature back up while typing out the parameters for the function?

Upvotes: 7

Views: 1678

Answers (2)

Phiter
Phiter

Reputation: 14992

In the previous versions of PHP Storm this was possible by using the key combination Ctrl + P .

But they have changed it, now Ctrl + P opens the Print dialog.

My current version is 2016.3.2, and the new shortcut for it is Ctrl + Shift + Space.

You can see the shortcut in View > Parameter Info

enter image description here

EDIT: This is for Windows only, on Linux the shortcut is Cmd + P.

Upvotes: 3

PressingOnAlways
PressingOnAlways

Reputation: 12356

You can do this in the default keybinding with:

ctrl+p

Upvotes: 10

Related Questions