Cannot view comments / params when using anon function expression with IIFE
I was using VS 2015 when I was writing code on Windows, but now that I'm back on OSX and using WebStorm, I noticed tha I do not have comments or params appearing when autocomplete appears in WebStorm.
I'm using anonymous functions expressions within an IIFE. Do you think that could be contributing to it?
Here's an example on Pastebin: http://pastebin.com/xCjEnzUm
请先登录再写评论。
Works for me (WebStorm 10.0.4) - see attached screenshot

Note that no types are displayed in parameters info when using your code - just names. This happens because of '-' between type and name in your JSDoc comments. WebStorm treats the first word after type in @param as parameter name. If it doesn't match with actual name specified in code, it can't map annotations to code.
"Note that no types are displayed in parameters info when using your code - just names. This happens because of '-' between type and name in your JSDoc comments. WebStorm treats the first word after type in @param as parameter name. If it doesn't match with actual name specified in code, it can't map annotations to code."
Ah, I didn't realize that! I'll make changes to the way I enter @param comments. Thanks!
I'll dive into my project a bit more and try to figure out why the annotations are not appearing. Thank you for following up with this!