microsoft / microsoft/vscode-java-debug

Debugger => Some variable content popup issues

Đang mở
#1,628 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

ai-triaged enhancement
Ngôn ngữ chính
TypeScript
Star
591
Fork
429
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
19

Mô tả

During debugging, VsCode has three quick possibilities to show the detailed content of variables (as far as I know):

  1. 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.
Image

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:
Image
  1. 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
Image
  1. 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.
Image

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi popup được mô tả trong issue ở khu vực chỉnh sửa tệp, chế độ xem biến và khi di chuột qua biến. So sánh vị trí của popup, việc popup bị đóng khi chọn hoặc cuộn, kích thước khi có nhiều dòng và control mở rộng toString còn thiếu. Hoàn tất khi các popup bị ảnh hưởng hỗ trợ nhất quán tương tác nhiều dòng được yêu cầu và hiển thị action mở rộng ở nơi phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, typescript, vscode
Lĩnh vực
devtools
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.