-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Generate JSDoc comments for generated code #521
Comments
What do you think, is this something worth to spend time on or is it just me seeing a point here? Please be honest ;) |
Yes, very important! |
Generating stuff from these comments is super hard :( |
Could you please elaborate? |
In @DanielMSchmidt we trust ! |
Will try my best 🙈 @LeoNatan See the conversation in #491 (comment) I tried to communicate it as good as I can :) |
I would see #563 as follow up on this, so I close this issue now. If you disagree feel free to tell me, I will reopen this 👍 |
It might be useful (especially for new contributors) to have jsdoc comments on the generated classes that indicate how to use it. These would also show up per autosuggest in some editors, which would be a nice benefit on top.
The reason why I want to add this is
a) It's fairly easy to accomplish, we have all the information needed and only 2-5 special cases (
Matcher<View>
,id<GREYMatcher>
, ...) to take care ofb) A bit of documentation could make the code a bit more understandable
My approach would be to have a JSDoc comment like this generated:
The text was updated successfully, but these errors were encountered: