Microsoft/vscode
View on GitHubdiffEditor.removedTextBorder bug border overlaps a bug that displaces lines
Open
#277,259 opened on Nov 13, 2025
bugdiff-editorhelp wanted
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (Avg merge 11h 48m) (1,000 merged PRs in 30d)
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.106.0-insider
- OS Version: Windows
Steps to Reproduce:
- Open a file removals/additions right next to each other.
- Open settings.json and add the following lines:
"diffEditor.insertedTextBorder": "#bcdbc9",
"diffEditor.removedTextBorder": "#ff07076c",
- Note how the border behaves differently between addition and deletion, on deletion, it shifts the line down and right (for the border), does not happen in addition.
Sharing a small gif enabling the two borders on and off.