Visual Studio Code status bar color

后端 未结 9 2009
长发绾君心
长发绾君心 2021-01-29 19:52

Visual Studio Code\'s default status bar color is blue and I find it quite distracting. I used this extension to change the color but it has stopped working after the 1.10

9条回答
  •  滥情空心
    2021-01-29 20:24

    1) Gonna save 30 minutes of time to noobs like me - it has to be edited in the settings.json file. Easiest way to acces is to File -> Preferences -> Settings, search for "Color", choose an option "Workbench: Color Customizations" -> "Edit in settings.json".

    2) This uses the solution proposed by "Gama11", but !note!: the final form of the code in the settings.json should be like this - note double curly braces around "workbench.colorCustomizations":

    {
      // fontSize just for testing purposes, commented out.
      //"editor.fontSize" : 12
    
      // StatusBar color:
         "workbench.colorCustomizations": {
         "statusBar.background" : "#303030",
         "statusBar.noFolderBackground" : "#222225",
         "statusBar.debuggingBackground": "#511f1f"
        }
    }
    

    After you copy/pasted code above, press Ctrl+S to save the changes to 'settings.json'.

    Solution has been adapted from here: https://code.visualstudio.com/api/references/theme-color

提交回复
热议问题