redhat-developer / redhat-developer/vscode-java
Imports break on git checkout
未关闭
还没有人认领这个 Issue。
ls-out-of-sync
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Issue Type: Bug
- Have a java codebase that is heavy on git branches and 3rd party libraries. (The repo in question is at github.com/frc999/frc-2020)
- Switch branches (this always happens if you switch branches in another window: sometimes if you switch within VS code)
- A random assortments of imports will "not be found", causing errors to show up wherever they are used.
- To clear the issue, one must run "clean the java language server workspace"
As the git expert on staff, this is annoying, to the point where I am considering giving the key command a keybinding.
Extension version: 0.55.1
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18362
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: disabled_off protected_video_decode: enabled rasterization: enabled skia_renderer: disabled_off surface_control: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 7.88GB (2.62GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用列出的 frc-2020 仓库、分支切换步骤以及 Java language server 工作区清理命令重现该故障。跟踪 VS Code 扩展对分支变更和导入解析的处理;完成的标准是切换分支后无需手动清理工作区,导入仍然能够被找到。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100