-
Notifications
You must be signed in to change notification settings - Fork 131
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
The "advanced" api-demo scenario does not collect all TypeScript comments #56
Comments
Quick on-the-bus question: have you tried ts.getJSDocTags(node: Node)? That only returns jsdoc of course, and it chops everything up into tags, but it might be enough. I’ll take a closer look when I’m back in the office after the holiday. |
@sandersn I don't think |
I've been looking into this a bit more and noticed the |
I tried So we still don't have an answer: What's a good way to scan a source file and find all the |
After debugging into the compiler library, I realized that advancedDemo.ts#L69 was calling Although However, with this approach we sometimes pickup duplicates when iterating the AST tree. For example when analyzing " I'll see if I can combine all these ideas together into a PR. |
This was fixed in PR #59. |
@Gerrit0 commented in #55 (comment) that the walkCompilerAstAndFindComments() function does not find some comments.
We should find a better example of how to do this. @eps1lon suggested:
@sandersn / @DanielRosenwasser could you provide some guidance?
The text was updated successfully, but these errors were encountered: