JSDoc support for @memberof and @namespace #36176
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Domain: JSDoc
Relates to JSDoc parsing and type generation
Suggestion
An idea for TypeScript
I work on a NodeJS Javascript codebase which uses plain JSDoc (i.e. no Typescript/Closure specific syntax). It uses
require()
rather than ES6/Typescript-style imports.Our codebase has JDoc'ed code which lives under arbitrary
@namespace
declarations, meaning they do not correspond to actual code 'namespaces'. For example our code is JSDoc'ed as@namespace utilities
but the module may be imported asutils
.My colleagues using Webstorm get the full JSDoc annotations/code completion/tooling but VSCode Intellisense does not recognised references like
models.Account
for e.g. parameters as shown below ...Since basically the entire codebase is namespaced, I get reduced Intellisense support for my custom code and no support for writing correct JSDocs.
The text was updated successfully, but these errors were encountered: