redhat-developer / redhat-developer/vscode-java
Does not resolve to a ICompilationUnit
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
RedHat Language for Java is just not working
No linter, no code suggestions, no "popups" on hovering, anything
I'm able to get the following error:
[Error - 21:08:10] 08-Oct-2018 21:08:10 file:///home/diego/GitHub/MAKEROID/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/util/crypt/MakeroidAES256.java does not resolve to a ICompilationUnit
It happens when the extension tries to read any file
I already tried deleting the extension and installing it again
Environment
- Operating System: Debian 9
- JDK version: 10 (tried as well on 8)
- Visual Studio Code version: 1.28
- Java extension version: Latest
Steps To Reproduce
- Just open any file

Current Result
It should be working
Expected Result
It's not working
Additional Informations
It was working time ago, but one day it stopped working, I don't know why
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过在 VS Code 中使用 RedHat Java 扩展打开报告的 MakeroidAES256.java 文件,并使用列出的 Debian 9、JDK 和 VS Code 版本,复现该故障。先从扩展对无法解析为 ICompilationUnit 的文件的处理入手;完成标准是该文件能够被解析,并且 linting、代码建议和悬停弹窗均能正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100