git - 我的 VS Code SCM 装订线指示器突然出现奇怪的图案

标签 git visual-studio-code gutter

我在 VS Code 中的装订线指示器(看似随机)从纯色(蓝色)切换为图案(蓝色,带有重复的黑色对角线),a:

screenshot

我在此处或我的设置中没有发现任何可以撤消或影响此操作的内容。有谁知道如何恢复为纯色,和/或为什么会发生这种情况以及这意味着什么?

最佳答案

请参阅发行说明:https://code.visualstudio.com/updates/v1_66#_updated-source-control-decorators

In order to make the source control decorators more visible for accessibility, we've added a new pattern for modified lines and increased the contrast for all decorators.

我认为您还不能回到纯色(直到 v1.67 版本 - 请参阅下文,感谢 @Phil),您只能使用 colorCustomization 更改“条纹”的颜色: "editorGutter.modifiedBackground": "#ff0000", [或返回 v1.65 直到问题得到解决]


正如@Phil 报道的那样,Insiders Build 中已经有一个选项:

SCM:差异装饰天沟图案

diff decorations gutter pattern setting

取消选择在修改行的装订线中使用差异装饰图案。 (已修改)默认启用。

关于git - 我的 VS Code SCM 装订线指示器突然出现奇怪的图案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71837192/

相关文章:

git - 'X' 似乎不是 git 存储库(我确定路径是正确的)

python - 带有 Visual Studio Code 的 Anaconda

visual-studio-code - 您可以在 VS Code 中按路径创建文件或文件夹吗?

PyCharm如何调整装订线宽度?

responsive-design - 砌体 : remove gutter from last column

css - 带有 susy-breakpoint 和固定间距的 Susy 网格

regex - 通过 `git rebase` 中的提交消息删除提交

Git 使用自定义消息将所有提交作为单个提交推送

git stash 应用版本

visual-studio-code - 在 vscode 中仅查看打开的文件而不是选项卡