redhat-developer / redhat-developer/vscode-java
Javadocs not displaying on hover
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
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
- [step 1] Open attached sample project
- [step 2] Hover on Spring annotations or
DiscordJarinprivate static final DiscordJar api
[Please attach a sample project reproducing the error]
sample-project.zip
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).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从附加的 sample-project.zip 开始,复现 Spring 注解和 DiscordJar 上的悬停行为。结合 issue 中描述的依赖组合,阅读 client.log.2024-03-20.txt 和 log.txt;当受影响的 Spring、DiscordJar 及传递依赖类型在悬停时显示 Javadocs,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100