Reputation: 2184
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:
ctrl + space
this brings up the autocomplete menu again, but you have to fiddle with the window to view the params, then it disappears again when you start typing, and if you need to reference again, you need to go through the window resizing process again.ctrl + q
quick documentation - this doesnt do anythingIs there a way to bring the method signature back up while typing out the parameters for the function?
Upvotes: 7
Views: 1678
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
EDIT: This is for Windows only, on Linux the shortcut is Cmd + P.
Upvotes: 3