相关疑难解决方法(0)

如何更改差异颜色 Visual Studio Code

在 VSCode 的用户设置中,我可以将以下内容添加到用户设置中以更改插入/删除的行的颜色:

"workbench.colorCustomizations": {
    "diffEditor.removedTextBackground": "#000000",
    "diffEditor.insertedTextBackground": "#ffffff"
}
Run Code Online (Sandbox Code Playgroud)

但是,我想更改插入/更改行的突出显示部分的颜色,以显示实际更改的内容。以我目前的主题,没有足够的对比:

在此处输入图片说明

如何更改差异文本的突出显示部分?有这个设置吗?

themes visual-studio-code vscode-settings

12
推荐指数
2
解决办法
5792
查看次数