简体   繁体   中英

WebStorm intellisense node packages

I have npm installed two packages (q, async). For the first one, the intellisense works great, for the second it's not.

Do you have any idea what can I do to have the intellisense work for any node package like it works for the Q package?

Thanks!

问

异步的

To get better coding assistance for some modules it is recommended to add TypeScript definition files as WebStorm JavaScript libraries. Go to Preferences | Languages and Frameworks | JavaScript | Libraries - click Download..., search for async - click Download and Install. You can learn a bit more about WebStorm code completion here: http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM