Using code hinting, PHPStorm can show me quick function definitions; can it be configured to show me more detailed examples of the function's use?
Asked
Active
Viewed 851 times
2 Answers
9
You can place the cursor (text-cursor, not mouse-cursor) on any PHP function and press Shift + F1 (Menu: View -> External Documentation).
That will open the detailed description incl. examples and user-comments (read: the PHP manual).

M8R-1jmw5r
- 4,896
- 2
- 18
- 26
-
Might it be different on a mac? – Eric Apr 11 '13 at 21:39
-
Probably. You can check in the menu: View -> External Documentation – M8R-1jmw5r Apr 11 '13 at 21:43
-
Hmmmm...It does indicate shift + F1 should work, yet it's greyed out. Is there another setting that will ungrey it? – Eric Apr 11 '13 at 21:48
-
1If it's greyed out, the cursor (text-cursor, not mouse cursor) is not on a function that has PHP manual documentation. – M8R-1jmw5r Apr 11 '13 at 22:52
0
With an OSX specific keyboard, you may need to trigger the F1
key by pressing fn + F1
. So here are two use cases that work for me:
- Open php.net documentation:
fn + shift + F1
- Quick view php.net documentation:
fn + F1
You may also find it useful that you can enable Quick documentation on hover. Open up File > Preferences
, navigate to the Editor
section, and at the bottom check the box for Show quick doc on mouse move.

Corey Ballou
- 42,389
- 8
- 62
- 75