Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable intellisense/ JSDoc info on hover in WebStorm?

Behaviour like in Visual Studio is what I would like. Like this:

enter image description here

or like this:

enter image description here

Currently, I get nothing on hover and only the basic type info whilst typing:

enter image description here

Is this possible and if so, how?

like image 752
Tom Avatar asked Aug 02 '17 15:08

Tom


People also ask

How to generate JSDoc comments?

Create JSDoc commentsPosition the caret before the declaration of the method/function or field to document, type the opening block comment /** , and press Enter . WebStorm generates a JSDoc comment with a list of parameters ( @param ) and return values ( @returns ), where applicable.

How to generate JSDoc in WebStorm?

Since Webstorm v8. 0.0, you can create JSDoc comments by simply typing /** right before the method or function declaration you want to add the documentation, and then press Enter , this will generate a basic block with all your parameters already set.


1 Answers

Try enabling Show quick documentation on mouse move in Settings | Editor | General to show docs on mouse hover. Note that normally documentation popup is available on Ctrl+Q (View | Quick documentation)

like image 173
lena Avatar answered Oct 13 '22 11:10

lena