Is there a way to raise method signatures in phpstorm autocomplete?

Like most IDEs, PhpStorm will display a list of suitable parameters when entering part of the function (provided that the IDE is configured correctly, etc.).
PhpStorm will also show a function signature, which is ideal for getting hints when you have a function that takes many parameters, for example. Database connectivity features like mysqli_connect .
However, at the moment when you "select" the autocomplete function, either using ctrl + spacebar , or choosing from the drop-down menu, the method signature and the parameter hint disappear.

Ive tried:

  • ctrl + space this brings up the autocomplete menu again, but you need to bother with the window to view the options, then it disappears again when you start typing, and if you need to link again, you need to go through the window resizing process again.
  • ctrl + q brief documentation - it does nothing

Is there a way to return the signature of a method signature when setting parameters for a function?

+6
source share
2 answers

You can do this in the default key:

 ctrl+p 
+7
source

In previous versions of PHP Storm, this was possible using the keyboard shortcut Ctrl + P.

But they 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 the view> Parameter Information

enter image description here

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

+3
source

Source: https://habr.com/ru/post/987392/


All Articles