5

I'm using Visual Studio Code to view Git diffs. But the diff is harder to read than the Visual Studio 2017 diff. Is it possible to have only one color in Visual Studio Code?

Visual Studio 2017 diff (easy to read):

Enter image description here

Visual Studio Code diff (almost impossible to read):

Enter image description here

tymtam
  • 31,798
  • 8
  • 86
  • 126
pushStack
  • 3,315
  • 1
  • 15
  • 14
  • **See Also**: [How to change diff color Visual Studio Code](https://stackoverflow.com/a/50680317/1366033) – KyleMit Feb 27 '21 at 13:26

1 Answers1

1

Currently, it is not possible. There are only options to change color for line background or line border. From the Visual Studio Code manual:

For coloring inserted and removed text, use either a background or a border color, but not both.

  • diffEditor.insertedTextBackground: Background color for text that got inserted.
  • diffEditor.insertedTextBorder: Outline color for the text that got inserted.
  • diffEditor.removedTextBackground: Background color for text that got removed.
  • diffEditor.removedTextBorder: Outline color for text that got removed.
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
German Lashevich
  • 2,193
  • 27
  • 38