github / github/app

Edit tool output does not wrap long lines in the GitHub Copilot app

Aperta
#3,212 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
triage
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Short summary

Edit tool results do not wrap long changed lines

### Affected version or release

v1.1.13

### Installation context

GitHub Copilot app on Windows 11. The issue affects Edit tool output in all scopes.

### What happened?

The expanded output for the built-in Edit tool does not wrap changed source lines. When an edited file contains a long physical line, the tool result displays it as one long visual line instead of wrapping to the available width.

This makes exact changes difficult or impossible to review. Copying the output elsewhere is not an easy workaround because the pasted text contains a large number of unexpected blank lines between rows.

### Steps to reproduce

1. Open any scope in the GitHub Copilot app.
2. Ask the agent to edit a file containing a line longer than the available Edit result width.
3. Expand the Edit tool result.
4. Observe that the changed line does not wrap.
5. Select and copy multiple rows from the Edit result.
6. Paste the copied text into another editor.
7. Observe the excessive blank lines between rows.

### Expected behavior

Long lines in Edit tool output should be horizontally scrollable, with an option to wrap them to the available viewer width.

Copied Edit output should preserve normal row separation without inserting excessive blank lines.

Users should be able to review exact edits without reformatting source files or reconstructing copied output.

### Additional context

Image

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Nel report non sono indicati file o test. Inizia riproducendo il problema nel visualizzatore dei risultati dello strumento Edit su Windows 11, quindi segui il comportamento del visualizzatore e della copia. Il lavoro è completato quando le righe lunghe possono essere esaminate tramite ritorno a capo o scorrimento orizzontale e le righe copiate mantengono una separazione normale senza righe vuote eccessive.

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

Valutazione

Stack tecnologico
github
Ambito
desktop, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.