Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

phpstorm

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 anything

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

like image 218
the_velour_fog Avatar asked May 18 '15 03:05

the_velour_fog


1 Answers

You can do this in the default keybinding with:

ctrl+p
like image 160
PressingOnAlways Avatar answered Nov 15 '22 10:11

PressingOnAlways