redhat-developer / redhat-developer/vscode-java
Imports break on git checkout
オープン
まだ誰も着手していません。
ls-out-of-sync
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
記載されている frc-2020 リポジトリ、ブランチ切り替えの手順、および Java language server のワークスペースクリーンアップコマンドを使って失敗を再現します。VS Code 拡張機能によるブランチ変更とインポート解決の処理を追跡します。ブランチを切り替えた後も、ワークスペースを手動でクリーンアップせずにインポートが見つかり続ければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100