-
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
Add object ids and child control ids to information displayed by the API Viewer #5
Comments
IMHO picking this up from the code is far too difficult to do reliably, at least not at this stage - I'm not precluding it but I'm worried that it would become a significant distraction. I agree that child controls tend to be overlooked for documentation, and if we are to avoid the same fate for objectId's then we would have to find ways to improve this. Perhaps the reason for this failure to document is partly due to the physical location of the How about if we upgrade the JSDOC so that we can insert these kinds of documentation in the middle of a function? For example:
The above code is taken from If we did the same for
|
This might be useful: https://github.com/tj/dox |
Even though object ids and child controls are part of the API of a library or an application, the API consumer currently needs to read the source code to discover them, unless the developer has explicitly included them in the JSDOC comments (which is prone to obsolescence). It would be great if the API Viewer (based on compiler data) could display this information. Ideally, the compiler could pick it up from the code itself; if that is technically difficult or impossible, we could add compiler hints which are easier to maintain than plain documentation.
The text was updated successfully, but these errors were encountered: