microsoft / microsoft/vscode-java-dependency

Extension activates wrongly on running user tasks

オープン
#728 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
TypeScript
スター
199
フォーク
105
平均マージ
1日 22時間
マージ済み PR(30日)
27

説明

Type: Bug

I have a user task configured in vscode to run upon a certain shortcut (launching some external editor on the currently open folder).
A few vscode versions ago, this user task was sometimes not activating anymore. However when waiting a long time I noticed that the user task would work but always super slowly and a notification in vscode saying that it activates the java extension (though my projects have nothing to do with java and the user task neither, it just launches an external editor on the current workspace folder).
The vscode extension bisect command revealed the java extension as being the culprit.
(maybe related to https://github.com/microsoft/vscode/issues/175833)

Extension version: 0.21.2
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T09:57:11.797Z)
OS version: Darwin x64 22.3.0
Modes:
Sandboxed: No

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 5, 4, 3
Memory (System) 32.00GB (0.86GB free)
Process Argv --crash-reporter-id 83993668-ab1b-4a86-9124-7b327487db9f
Screen Reader no
VM 0%

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告された VS Code ユーザータスクで遅延を再現することから始め、VS Code Extension Bisect の結果を使用して Java extension が関与していることを確認します。関連する VS Code issue に照らして拡張機能のアクティベーション動作を確認します。無関係なユーザータスクが Java extension をアクティベートしたり、Java extension を待機したりしなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript
領域
developer-experience, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。