Quick Documentation Lookup helps you get quick information for any symbol or just method signature information, provided that this symbol has been supplied with documentation comments in the applicable format.
For markup languages, PhpStorm retrieves reference from the language specification according to the Document Type setting.
Documentation look-up is also available for Drupal hooks, see Drupal.
Documentation is shown in the Documentation pop-up window:
The URLs and e-mail addresses specified in the documentation comments for methods are also properly rendered. Clicking a hyperlink opens the corresponding URL in an external browser; clicking an e-mail address opens the default mail client.
When you explicitly invoke code completion, then quick documentation for an entry selected in the suggestion list can be displayed automatically. The behavior of quick documentation lookup is configured in the Show documentation popup in field on the Code Completion page of the Settings/Preferences dialog.
View documentation for a symbol at caret
On the main menu, choose.
Provided that the checkbox Show quick doc on mouse move in the editor settings is selected, just move your mouse pointer over the desired symbol.
Change the font size of quick documentation
The Documentation pop-up window helps navigate to the related symbols via hyperlinks, and provides a toolbar for moving back and forth through the already navigated pages, changing font size, and viewing documentation in an external browser.
When pinned, the Documentation pop-up window turns into the Documentation tool window, with the corresponding sidebar icon, and more controls.
To switch between the Documentation pop-up window and the Documentation tool window, use Ctrl+Q.
Left or Right
|Switch to the previous or next documentation page (e.g. after using hyperlinks).|
Switch to the item (e.g. source) that corresponds to the documentation page currently shown.
|Click this icon to perform the following settings: |