-
Notifications
You must be signed in to change notification settings - Fork 414
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
@link highlighting broken when linking to class #1753
Comments
The textmate grammar is defined in vscode itself, but the source of the grammar is actually atom, so the problem should be reported there: https://github.com/atom/language-java/issues |
Filed upstream. |
FYI @fbricon @SamJakob this issue can also be fixed via semantic highlighting. I had this in mind for my next iteration of semantic highlighting improvements, and I've actually already implemented a fix for this specific issue, which has been sitting on my local development branch for a while. Sadly I got busy and never got to the point of submitting a PR. But I think I'll have time to do that next week. So if all goes well I'm guessing this can make it into the next release of the extension. Also, isn't the TextMate grammar defined by the extension itself now, since #1638? I mean, the issue still has to be fixed upstream, but we don't really depend upon VS Code anymore. |
eclipse-jdtls/eclipse.jdt.ls#1641 was merged, so this should be fixed now (at least via semantic highlighting) and is ready for release in the next update. |
@0dinD thanks for the fix, i will close the issue. |
When using the @link doc tag to refer to a class, rather than a method (which is valid), it is not highlighted, however it is for a method.
Environment
Steps To Reproduce
Notice how only the latter has correct syntax highlighting.
Current Result
Syntax highlighting is only applied to the @link tag when referring to a method.
Expected Result
Syntax highlighting should be applied to the @link tag when referring to a method or a class.
The text was updated successfully, but these errors were encountered: