How to get function parameter pop-up to show on demand?

This thing keeps popping up automatically when my cursor is inside of a function call's parentheses, obscuring a giant block of text above it, but I only want this to show on-demand, like when I hit Ctrl+space.

I found the settings to disable the automatic pop-up (Mac PHPStorm > Preferences > Editor > General > Code Completion > Parameter Info > Show the parameter info popup checkbox), but trying to set Ctrl+space to Keymap > Other > Toggle parameter name hints (or anything) says it's already assigned to one or two other things, I can't tell, and I'm not sure what they do?

0
2 comments

Those actions you're looking at the Keymap are not what you think. They control Editor | General | Appearance | Show parameter name hints and .. | Code Completion | Show parameter name hints on completion.

The action you need is already bound to Cmd+P, please try.

Update: I realized you're using a non-standard keymap, this action's name is Parameter Info.

0

Cmd+P is assigned to "Other > Show/Hide path text". I didn't set this myself. I'm not quite sure what this means.



Inside the parentheses of say the `mail` function, Ctrl+Space shows a bunch of suggested values:



If I delete the parentheses and hit Ctrl+Space, it shows the function parameter definitions and other suggestions:



I would prefer Ctrl+Space when the cursor is inside the parentheses to show the parameter definitions so that I can make sure the next parameter type and value are proper with the function (meaning it should be able to activate even after filling out one or more parameters). This prevents me from having to check or double-check a functions parameter definitions in another window (and having to flip back and forth to make sure). 

In the Keymap editor, Ctrl+Space is set to things that I'm not sure I understand exactly, and I'm not sure how to get what I'm looking for as described above:

0

Please sign in to leave a comment.