redhat-developer / redhat-developer/vscode-java
In lightweight mode, take module restrictions into account
未关闭
还没有人认领这个 Issue。
compile
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
See Steps To Reproduce: the hover shows the documentation for an internal class. In lightweight mode, only classes in packages which are exported from java.base should be considered.
Environment
- Operating System: Windows 11
- JDK version: 17.0.2
- Visual Studio Code version: 1.65.2
- Java extension version: 1.4.0
Steps To Reproduce
I have the following code:
import org.springframework.beans.factory.annotation.Value;
public class Foo {
@Value("${foo.bar}")
private String fooBar;
}
Current Result

Expected Result
No pop-up is shown.
Additional Informations
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从轻量模式下报告的 Steps To Reproduce 开始,检查 Java 扩展如何确定哪些类可用于 hover 文档。完成的标准是:未从 java.base 导出的内部类不再产生 hover,而已导出的包仍会被考虑。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100