microsoft / microsoft/vscode-java-debug
Debugger => Some variable content popup issues
オープン
まだ誰も着手していません。
ai-triaged
enhancement
- 主要言語
- TypeScript
- スター
- 591
- フォーク
- 429
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 19
説明
During debugging, VsCode has three quick possibilities to show the detailed content of variables (as far as I know):
- The file edit area: For each line the content of the variables in this line are shown which is very nice. With mouse hovering over this area a popup appears with a bigger, multiline view of these contents, which is even nicer. As far as I know, this is currently the only way to have a fast multiline content view during debugging.
I have found these issues with it:
- You can see in the image that the variables content goes over two lines. The popup appears by hovering both over the first line and the second. With the first line everything is fine, but when I trigger the popup from the second line the popup appears a bit higher as the mouse pointer (i.e. at the first line, which is the corresponding code line). If I then move the mouse in order to select some popup text or just want to scroll, the popup disappears immediately. You can go with the mouse 'into' the popup if it was triggered from the first line only
- It is currently impossible to select all text from the popup if the text doesn't fit into the area, i.e. there is a scrollbar. If I want to select with the mouse, the popup disappears if I move over the border of the popup instead of scrolling and selecting more text. If I want to select everything with 'ctrl+a', it selects the code inside the file edit area instead
- The toString() content of a variable is only shown if someone clicks on the 'click to expand' eye-button for this variable inside the variables view. It would be VERY useful if this button could also appear inside this popup. This is the button of the variables view:
- In the variables view: There also a popup appears. Sadly this is not multiline, the size can not be adjusted, it is only useful for really small content as numbers or small strings, and small content is shown directly inside the variable view anyway. It would be preferable to have the same or a similar popup as inside the edit area
- When hovering over a variable inside the file edit area: Here, the content is shown similar as in the variables view. It would be nice if there is a possibility to see multiline content also. E.g. with the same or similar popup as in 1.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されているポップアップの動作を、ファイル編集領域、変数ビュー、変数ホバーで再現します。ポップアップの配置、選択中またはスクロール中の閉じ方、複数行の場合のサイズ調整、欠落している toString 展開コントロールを比較します。影響を受けるポップアップが要求された複数行インタラクションを一貫してサポートし、適切な箇所で展開アクションを提供できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100