VS Code Extension Colors

jxsaxton421
Tera Guru

I setup my workspace for the VS Code Extension. I do not like the white on green color for the workbench and activity bar, so I was trying to adjust it, but my changes are not saving correctly. 

I go to settings: User -> Appearance and it says the colors are modified in workspace (because of the default extension colors Servicenow added) 

JoshSaxton_0-1676568543790.png


So I navigate to the workspace settings file for my ServiceNow work. 

JoshSaxton_1-1676568635783.png

I change the green color under statusBar.background and activityBar.background to any other color, save and it keeps the new color selected. 

I close vs code, and reopen. It reloads the previous color. Is there something else I need to change to get the settings to stick? Or does the extension keep the defaults everytime it loads? 

3 REPLIES 3

knishant0808
Kilo Contributor

Hi, did you found the solution to it?

No, it seems like everytime you close VS Code it dosen't persist to save the Workspace settings that were updated with the colors I want. This worked for me in 2020/2021 so I am not sure what has changed in the extension code to prevent saving. 

WinstonM
Tera Contributor

Hi,
I had the same issue. I accessed the "settings.json" file that is inside of the hidden ".vscode" folder at the root of the workspace and changed it there and that seemed to work.
Before editing (green activityBar):

WinstonM_2-1718221188725.png

 

After editing (default colour is restored):

WinstonM_1-1718221166218.png

 

Also ensure the "Enable Theme" checkbox remains unchecked under  "File>Preferences>Settings-> Workspace -> Extensions -> Now":

WinstonM_3-1718221439800.png