Vscode: activityBar.activeBorder and activityBar.activeBackground is not recognized

Created on 8 Nov 2019  ·  4Comments  ·  Source: microsoft/vscode


  • VSCode Version: 1.40.0
  • OS Version: MacOS High Sierra 10.13.6

Steps to Reproduce:

  1. Open the settings.json file
  2. Type in activityBar.activeBorder or activityBar.activeBackground and enter some values

Screenshot:
Screen Shot 2019-11-09 at 2 37 38 AM


Does this issue occur when all extensions are disabled?: Yes

*question

Most helpful comment

For those settings to be recognized they have to be nested in
workbench.colorCustomizations

Like so:

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

All 4 comments

For those settings to be recognized they have to be nested in
workbench.colorCustomizations

Like so:

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

Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.

Happy Coding!

I believe this has to be better documented than this,

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:

I was making the same mistake as OP.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

curtw picture curtw  ·  3Comments

ryan-wong picture ryan-wong  ·  3Comments

lukehoban picture lukehoban  ·  3Comments

chrisdias picture chrisdias  ·  3Comments

DovydasNavickas picture DovydasNavickas  ·  3Comments