问题描述
我使用一个深色专业主题作为我的默认 VS Code 颜色主题。在那,我得到源代码控制背景作为现有和过去更改的一些浅绿色和深红色。我想更改 settings.json
中使用的默认颜色。我该怎么做?
解决方法
我们可以通过修改diffEditor
的工作台配置中的settings.json
属性来实现源代码管理的后台变化
"workbench.colorCustomizations": {
"diffEditor.insertedTextBackground": "#045e13c7","diffEditor.removedTextBackground": "#750a2ac0"
}