Vscode: 无法识别activityBar.activeBorder和activityBar.activeBackground

创建于 2019-11-08  ·  4评论  ·  资料来源: microsoft/vscode


  • VSCode版本:1.40.0
  • 操作系统版本:MacOS High Sierra 10.13.6

重现步骤:

  1. 打开settings.json文件
  2. 输入activityBar.activeBorderactivityBar.activeBackground并输入一些值

屏幕截图:
Screen Shot 2019-11-09 at 2 37 38 AM


禁用所有扩展后是否会发生此问题?:是

*question

最有用的评论

为了能够识别这些设置,它们必须嵌套在其中
workbench.colorCustomizations

像这样:

 "workbench.colorCustomizations": {
        "activityBar.activeBorder": "#ff00a8",
        "activityBar.activeBackground": "#ff00a822"
},

所有4条评论

为了能够识别这些设置,它们必须嵌套在其中
workbench.colorCustomizations

像这样:

 "workbench.colorCustomizations": {
        "activityBar.activeBorder": "#ff00a8",
        "activityBar.activeBackground": "#ff00a822"
},

请在StackOverflow上提问。 我们那边有一个很棒的社区。 他们已经回答了成千上万的问题,并很高兴为您解答。 另请参阅我们的问题报告准则。

编码愉快!

我在堆栈溢出中问过(并回答了): https :

我相信这要比这更好地记录下来,

You can control the active indicator via the new color token, activityBar.activeBorder. We also introduced an optional background color for the active element, activityBar.activeBackground, and when configured can look like so:

我犯的错误与OP相同。

此页面是否有帮助?
0 / 5 - 0 等级