vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Javadocs not displaying on hover

Open Phoenix-Starlight opened this issue 1 year ago • 0 comments

Hello, I have encountered an issue with displaying Javadocs on hover. I have narrowed down the problem to a single dependency that breaks the hover functionality for some classes/methods.

Environment
  • Operating System: Puppy Linux F96-CE
  • JDK version: IBM Semeru Runtime Open Edition 21.0.1.0 (build 21.0.1+12-LTS)
  • Visual Studio Code version: 1.87.2
  • Java extension version: 1.28.1
Steps To Reproduce
  1. [step 1] Open attached sample project
  2. [step 2] Hover on Spring annotations or DiscordJar in private static final DiscordJar api

[Please attach a sample project reproducing the error] sample-project.zip

Please attach logs

client.log.2024-03-20.txt log.txt

Current Result

Javadocs don't appear on hover

Expected Result

Javadocs appear on hover

Additional Informations

A lone direct dependency on spring-boot results in javadocs displaying for Spring annotations. A direct dependency on spring-boot + dependency on discord.jar results in javadocs not displaying for Spring annotations nor discord.jar types. A lone dependency on discord.jar results in javadocs not displaying for its own types (ex. DiscordJar) but they are present when viewed via Go to Definition or viewing some methods in code completion. Using any transitive dependencies from discord.jar has their javadocs not appear (ex. Gson).

Signature help does display the javadocs as well, but not all of them (Spring annotations still don't show).

Phoenix-Starlight avatar Mar 20 '24 22:03 Phoenix-Starlight