-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Use parameters data from actual code when jsdoc is used #72
Comments
Would also be nice to parse and display comment after |
I don't like duplication. For functions with return values, the description of those is usually the first thing in the body of the docstring. So, not sure if that's any benefit. |
Simple idea: if there's not a single
It's just a simple readability improvement - you see return value described after arguments, like it usually is in documentation. |
If there's nothing to add about ret, I guess that'll be all. |
I mean, it would still be useful to be able to describe return value. But it's not as critical. |
I showed how it's usually described in my experience. |
Well I come from C# background. There comments have a structure with return value having it's own tag that describes what is returned separately. As I said, it's not very important, but a feature you would expect when writing structured comments. Why args have comment but ret does not? Feels inconsistent. |
Screenshot
What's wrong on screenshot
Code
The text was updated successfully, but these errors were encountered: