Answer the question
In order to leave comments, you need to log in
Can't change terminal shell Visual studio code?
There was a need to change the VSC shell from powershell to Gitbash. But when trying to do this, the following error occurs - "Unable to write to the user settings file. Open the user settings, correct the errors and warnings, and try again."
user file -
In it, VSC swears at the last curly brace.
{
"window.zoomLevel": 0,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[less]": {
"editor.defaultFormatter": "Wscats.eno",
"liveSassCompile.settings.generateMap": false,
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"autoprefix": "last 5 versions",
"extensionName": ".css",
"savePath": "css"
},
]
}
Answer the question
In order to leave comments, you need to log in
it is logical that it will complain about the curly brace, it's not a valid .json...
I guess it should be like this:
{
"window.zoomLevel": 0,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[less]": {
"editor.defaultFormatter": "Wscats.eno",
},
"liveSassCompile.settings.generateMap": false,
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"autoprefix": "last 5 versions",
"extensionName": ".css",
"savePath": "css"
},
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question