redhat-developer / redhat-developer/vscode-java
Quickfix suddenly not working properly with local classes
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
When referencing a local class in code a quick fix could normally find the local file and add it as an import, but now it can never seem to find anything so just suggests creating a new class/variable etc.
Environment
- Operating System: Macos 10.13.6
- JDK version: 8, 261
- Visual Studio Code version: 1.50.0
- Java extension version: 0.68.0
Steps To Reproduce
- Add a local class reference for one of your custom classes
- Open vscode's quick fix and it will not find your local reference.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用列出的环境和扩展版本,在 VS Code 中通过本地 Java 类引用重现该问题。根据重现结果跟踪 quick-fix 行为,并验证完成的更改已恢复导入现有本地类的建议,而不是提供创建新符号的选项。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100