Answer the question
In order to leave comments, you need to log in
How to view block comments for functions in PhpStorm?
Good afternoon colleagues. Tell me please. How to view while holding Ctrl and comments to parameters on functions or classes?
For example:
/**
* @param Category[] $categories массив категорий
* @param int $activeId активные айди
* @param int $parent дочерний элемент
* @return array
*/
private function getMenuItems($categories, $activeId = null, $parent = null)
$categories, $activeId = null, $parent = null : array
Answer the question
In order to leave comments, you need to log in
under Windows and Linux, the default combination is Ctrl + Q (Quick Documentation) with the cursor on the function name. for OSX like F1 is available.
and viewing the parameters as you have it by default Ctrl + P
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question