warning with longStackTraces

I'm getting a warning importing longStackTraces but i believe i have my preferences set correctly. this is on webstorm 10.0.4 on a mac and screenshots show the error and config. any suggestions are appreciated.



Attachment(s):
Screen Shot 2015-11-01 at 9.30.51 AM.png
Screen Shot 2015-11-01 at 9.28.31 AM.png
0

Completion for promise functions doesn't work because of a tricky way this module is defined. As a workaround I'd suggest using 'bluebird' typescript stubs:

bluebird.png

0
Avatar
Permanently deleted user

Can you give a link to something explaining how to use bluebird typescript types?

0
Avatar
Permanently deleted user

I also ask, because I'm seeing similar issues with
-should
-all my model classes imported from Sails.

0

sorry, don't understand what explanation you are looking for... Webstorm is just using TypeScript definitions to give intellisence for JavaScript.See http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/

0
Avatar
Permanently deleted user

Well can you describe how I do this from your earlier comment?  "As a workaround I'd suggest using 'bluebird' typescript stubs: "

0

Download the stubs per instructions in the blog post: in Settings/languages & Frameworks/JavaScript/Libraries, press Download, select 'Typescript community stubs' in the combobox, then choose bluebird' from the stubs list. What is unclear?

0

请先登录再写评论。