Microsoft/vscode

diffEditor.removedTextBorder bug border overlaps a bug that displaces lines

开放

#277,259 创建于 2025年11月13日

 (1 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
Good first issueNavigationUIbugdiff-editorhelp wanted

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南