-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
changed behavior of symbol.getDocumentationComment() #11956
Comments
This change was introduced by #10671 and also broke UWP API documentation comments in VS 15. I'm working on a fix. And by fix I mean some way to get custom jsDoc tags from the language service, not necessarily reverting to the old behavior. |
@sramam did the API that @minestarks added in #12856 address your request? |
I haven't had a chance to look into this since. closing for now. |
I finally got around to looking into this, the API works perfectly. Thanks much @minestarks! |
I am interested in expanding the use of JsDoc comments to annotate interface fields with validation criteria. An attempt to use symbol.getDocumentationComment() seems to have different behavior
between 2.0 and 2.1 branches.
Sample doc comment (attached to an interface here, but I don't think that should matter)
The intent is to walk the tree of nodes and invoke getDocumentationComment on the symbol for 'field'
Expected behavior:
Actual behavior:
If this is intended behavior, please provide a way to get raw documentation so client applications and extend any default usage.
The text was updated successfully, but these errors were encountered: