I'm trying to change my VS Code color theme but I'm getting an error in the settings.json file.
The error is "Unable to write into user settings. Please open user settings file to correct errors/warnings in it and try again".
This is my settings.json file:
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
{
"workbench.colorTheme": "Default Dark ",
"[html]": {
}
CodePudding user response:
It has to be valid json file. Intellisense works for VS code.
I don't know thy you have this under terminal.integrated.profiles.windows
I think it's for used terminals configuration. In config.json use just
{
"workbench.colorTheme": "Default Dark ",
}
CodePudding user response:
Your settings file is not formatted correctly. It needs to start with a { and you have no value for the html.
Here is a start (you need values or leave out html).
{"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
"workbench.colorTheme": "Default Dark ",
"[html]": {}
}
Curious, did you do any manual updates? - or perhaps something went wrong when you chose the Dark theme via the VS Code menu.