DEV Community

Discussion on: A JSDoc in TypeScript's Clothing

Collapse
 
miketalbot profile image
Mike Talbot ⭐

See in Webstorm/IntelliJ JSDoc is just autofolded away for me. It's just a single line above the function. Plus I'd only ever bother on library stuff that is going to be called by someone else at some point, internal functions etc just don't need it.

Collapse
 
bytebodger profile image
Adam Nathaniel Davis

Ahhh, that's a good point. I don't have my WebStorm settings configured to fold those comment blocks. But that would really relieve a lotta scrolling in those places where JSDoc is being used.

But yeah, on internal stuff, it's really not necessary at all.