microsoft / microsoft/vscode-java-debug

Debugger => Some variable content popup issues

Aperta
#1,628 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

ai-triaged enhancement
Lingua principale
TypeScript
Stelle
591
Fork
429
Merge medio
1g 9h
PR unite (30g)
19

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il comportamento dei popup descritto nell’issue nell’area di modifica dei file, nella vista delle variabili e al passaggio del cursore su una variabile. Confronta il posizionamento dei popup, la loro chiusura durante la selezione o lo scorrimento, il dimensionamento su più righe e il controllo di espansione toString mancante. Il lavoro è completato quando i popup interessati supportano in modo coerente l’interazione multilinea richiesta ed espongono l’azione di espansione dove appropriato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, typescript, vscode
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.