microsoft / microsoft/vscode-java-dependency

Adding libraries doesn't work unless restart IDE

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

还没有人认领这个 Issue。

主要语言
TypeScript
星标
199
派生
105
平均合并
1 天 22 小时
30 天内合并 PR
27

描述

Environment:

  • VS Code Version: 1.96.4
  • Extension Version: Extension Pack for Java v0.29.0 + Lanuagae Support for Java v1.41.0
  • JDK Type & Version: jdk-17
  • OS Type & Version: Linux/Windows

Step to Reproduce:

  1. Clone and open https://github.com/jdneo/invisble-project
  2. Open a java file
  3. Open project settings > Libraries > Add new library for test-lib folder > Apply
  4. Or Open Java Project view > Referenced Libraries > Add new library for test-lib folder

Expected Behavior:
After add new libraries, it can automatically show up without manually refreshing or restarting IDE.

Actual Behavior:
Add libraries at step 3 or step 4, it won't be refreshed here, even manually refresh it > Restart IDE, the new added libraries will be shown up.
Note: with vscode java 1.40.0 + pack 1.29.0, it doesn't repro.

Image

Related Issues:

贡献指南

打开贡献指南

从这里开始

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

调研方向

按照列出的步骤复现该问题,并使用 Project Settings > Libraries 和 Java Project > Referenced Libraries 视图作为入口。比较在报告所涉及的版本中添加库的情况,并验证库是否会在无需手动刷新或重启 IDE 的情况下显示;该 issue 未指出可作为起点的源文件或测试。

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

评估

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

把新 issue 发到你的邮箱

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