redhat-developer / redhat-developer/vscode-java

Improvement: Classpath is Incomplete warning should give more context

未关闭
#959 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

stale
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

Issue #193 points out that this message can be less than helpful. The wiki points out that this occurs when opening individual java files. But the cases associated with this message suggest there are various other conditions - missing .project files, misconfigured .classpath, among others. I have an environment where I open multiple project directories in a single vscode window. I don't even know which project to start looking at when this message appears.

It would be helpful if the message could display "Classpath is incomplete" in (File or directory reference)

Environment
  • Operating System: OSX
  • JDK version: jdk 1.8
  • Visual Studio Code version: 1.35.1
  • Java extension version: 0.46.0
Steps To Reproduce
  1. With (say) 3 java project directories in a vscode window, delete .project in one.
  2. Java: Clean the language server environment

"Classpath is Incomplete" warning is displayed

Current Result
Expected Result
Additional Informations

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue #193 开始,追踪 Java extension 中现有的警告 "Classpath is incomplete"。删除 .project 文件并清理 language server 环境后,在同一个 VS Code 窗口中使用多个 Java 项目目录重现该问题。完成标准是警告能够指出相关文件或目录。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。