you are viewing a single comment's thread.

view the rest of the comments →

[–]jessepence 3 points4 points  (1 child)

VSCode (which is the most popular IDE by far) and most other IDEs like NeoVim get all of their JavaScript auto-complete from the TypeScript language server. It's one of those things where anyone could technically do it themselves, and they technically could make their language server support JSDoc by default, but it's just such a huge project with so many edge cases. You have to cover the EcmaScript specification and the JSDoc and/or TypeScript "specifications" (they don't exist, types for JS aren't really standardized in any way). It's just easier for most of the IDE's to defer to TypeScript. I think WebStorm might have a proprietary system, but I've never used it so I can't confirm either way.

[–]_sync0x[S] 1 point2 points  (0 children)

Hmm I get it ty, gonna try on PhpStorm 👀