-
Notifications
You must be signed in to change notification settings - Fork 7
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
Documentation and comments are missing #19
Comments
@erizocosmico What version are you using? |
The one in the staging bblfsh playground: 1.0.0 |
Okay, can confirm that it's a bug and the solution is not that simple (see discussion in #3). For now, you can use Annotated mode to get comments, although they won't be normalized. |
Don't worry, I can move on to other tasks of the PoC and leave this for the end. If it's not fixed by then I will try with annotated mode. What do you mean exactly by "normalized" in this case? |
In Semantic, all comments will have a single type: |
Also, note that comments are missing only on specific node types - if they were close to any If the comment is in the code block it should be visible. |
I'm targeting method docs, in particular. |
They won't be visible for now :( |
I just tried with annotated mode and turns out it's exactly what I need for the PoC. |
Documentation and comments are missing from the returned UAST.
Example:
Does not return any of the documentation comments in the code.
The text was updated successfully, but these errors were encountered: