Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

@link highlighting broken when linking to class #244

@SamJakob

Description

@SamJakob

Prerequisites

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

  1. Open a Java file
  2. Paste in the following Javadoc comment
/**
 * {@link String}
 * {@link String#toCharArray()}
 */

image
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

See: redhat-developer/vscode-java#1753

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions