This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
@link highlighting broken when linking to class #244
Copy link
Copy link
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode (I have not - but this shouldn't be relevant. Also see below)
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
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.
Steps to Reproduce
- Open a Java file
- Paste in the following Javadoc comment
/**
* {@link String}
* {@link String#toCharArray()}
*/
Notice how only the latter has correct syntax highlighting.
Expected behavior:
Syntax highlighting should be applied to the @link tag when referring to a method or a class.
Actual behavior:
Syntax highlighting is only applied to the @link tag when referring to a method.
Reproduces how often:
Every time.
Versions
I'm using VSCode, however it apparently uses the Atom Java grammar upstream, so I'm reporting here. (See the below linked issue.)
Additional Information
Metadata
Metadata
Assignees
Labels
No labels