Autopopup documentation feature

PhpStorm & WebStorm are capable of showing you documentation related to PHP class, JS element or HTML tag just by pressing Ctrl+Q when cursor is on that element.

You can call it up also when IDE suggests you to auto-complete your code.
For example, you are going to use “connect” method of DB class and would like to see documentation for it.
Pressing Ctrl+Space will show you all methods of DB class. Pressing Ctrl+Q when method is selected in drop-down box will show you popup with documentation.

If you’d like to enable showing documentation by default after given timeout you can turn it on in Settings->Editor->Code completion menu:

This blog is permanently closed.

For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog.

 
This entry was posted in Cool Feature, PhpStorm, WebStorm and tagged , , , , . Bookmark the permalink.

2 Responses to Autopopup documentation feature

  1. marinc says:

    How about autocomplete for methods & properties defined in parent classes?

  2. KPblCEHblLLl says:

    can I help to autocompleter by filling documentation for params
    like:
    /**
    * @param param1 {MyClass}
    */
    function myFunc(param1) {…}
    so WebStorm may be ensure in what methods “param1″ have.

Comments are closed.