admin管理员组

文章数量:1288020

I am customizing the colors in my VSCode with workbench.colorCustomizations, I find that there is an inconsistent behavior.

In the side bar list, when the selection is active, the color always respects this property: list.activeSelectionForeground in my case the value is #ffffffd8.

However, when it is inactive, it respects the Git color code, except when the file is unmodified in which case it respects list.inactiveSelectionForeground in my case the value is #ffffffd8.

I wonder if it is possible to have the same behavior as inactive selection, meaning that when I select a file in the side bar, it applies the Git color (gitDecoration properties in workbench.colorCustomizations).

  "workbench.colorCustomizations": {
    "list.activeSelectionForeground": "#ffffffd8",
    "list.inactiveSelectionForeground": "#ffffffd8",
  },

本文标签: