Microsoft/vscode

diffEditor.removedTextBorder bug border overlaps a bug that displaces lines

Open

#277.259 aperta il 13 nov 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
bugdiff-editorhelp wanted

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.106.0-insider
  • OS Version: Windows

Steps to Reproduce:

  1. Open a file removals/additions right next to each other.
  2. Open settings.json and add the following lines:
    "diffEditor.insertedTextBorder": "#bcdbc9",
    "diffEditor.removedTextBorder": "#ff07076c",
  1. 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.

Image

Guida contributor