-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSDoc auto-fill only works on functions #4447
Comments
There are a list of elements that the JsDoc scaffolding should be enabled on:
|
I think it would also be useful to be able to have them enabled at the marker here (so on parenthesized expressions): var x = /**/ (y); because in closure compiler you do inline casts with jsdoc comments like so: var x = /** @type {Foo.Bar} */ (y); VSCode's jsdoc insertion does this already. |
@weswigham fair point, added |
It will be pretty nifty to add :
|
I think that should be part of a separate issue @yuit. Also, I wonder the utility of the type annotations since in TypeScript you already have type annotations. |
the main ones outlined here were fixed. please file other issues if the other ones are still needed. |
Currently JSDoc auto-fill for comment scaffolding seems to only work for functions. This should also work for other forms like classes, methods, namespaces, etc
Edit by @DanielRosenwasser
Adapted from list below:
The text was updated successfully, but these errors were encountered: