microsoft / microsoft/vscode

Wrap all lines in diffs after Copilot edits

Open
#336,756 0 comments 0 reactions 1 assignee Assigned to @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

When wrapping lines in a document, when Copilot's changes are applied, only the unchanged line is wrapped. The change line is unwrapped. This make it hard to understand what's been changed.

Image

Ideally, when line wrapping is enabled, both the original and changed line should remain wrapped for easy comparison.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in VS Code's diff editor with line wrapping enabled, then apply a Copilot edit and compare the unchanged and changed lines. Trace the diff-rendering and wrapping entry points involved; done means both sides of the diff remain wrapped after the edit and the comparison is readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.