Skip to content

Links to classes do not appear in completion documentation #3697

@datho7561

Description

@datho7561
Environment
  • Operating System: Fedora 40
  • JDK version: The one bundled with the extension
  • Visual Studio Code version:
1.91.0
ea1445cc7016315d0f5728f8e8b12a45dc0a7286
x64
  • Java extension version: v1.33.2024062908 (pre-release)
Steps To Reproduce
  1. Make a file MyDocumentedClass.java:
package org.acme;

/**
 * This is some documentation, isn't it so cool?
 * 
 * @see System
 */
public class MyDocumentedClass {
    
    public void printSomeMessage() {
        System.out.println("Hello, World!");
    }

    public void myCoolMethod() {
        MyDocumented
    }
}
  1. Hover over MyDocumentedClass. Notice how System is a link, and when you click it, it opens the System class.
  2. Invoke completion after MyDocumented. Notice how the same documentation appears, but
Current Result

Documentation links do not work in completion documentation.

Expected Result

Documentation links in completion documentation work the same as in hover documentation.

Additional Informations

See redhat-developer/vscode-microprofile#246 for a fix I did in vscode-microprofile.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions