-
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 generation - generate @returns when function returns a value #14248
Comments
This was actually supported at one point and disappeared after an update earlier this year. :( |
I would also like to see a @returns! |
@mhegazy what feedback are you expecting? This is something it should do the same way it does with The actual issue tracking this is microsoft/vscode#21832 |
users saying they want to see this implemented. we did not add it to allow return type to be inferred from parameters. this makes updating the function simpler, since updating the function implementation will take effect instead of having to also update the return type. |
recently just had a discussion about this with a colleague of mine where he noticed @returns wasn't being outputted automatically when he types this should be adjustable in the setting.json. If a user wants it or it's mandatory for a project, let it be configureable by the editor if said team works with VSCode. |
Any progress on this issues? |
From @egamma on February 22, 2017 11:14
In the following generated JS Doc comment I would have expected that there is also a
@returns
comment.Copied from original issue: microsoft/vscode#21109
The text was updated successfully, but these errors were encountered: