Python Forum
Trying to set color preferences in VS Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to set color preferences in VS Code
#1
When I try to change Color Theme in VS Code receive a message "unable to write into user settings"
When I open settings the path should be added after "python" but failed to do that.
Advice is appreciated.
Reply
#2
check permissions on .vscode directory and also the file settings.json contained within that directory
Truman likes this post
Reply
#3
https://i.postimg.cc/pd8gNqwC/vscode.png

Still don't understand what should be added for python. Google didn't give me the answer.
Reply
#4
In picture there is clear error have to be valid json,can not just cut like this.
Also advice is to use:
 "python": "$pythonPath $fullFileName",
Then will switch automatic to version used down in left corner.
So this it how i have it see that have to close with }.
"code-runner.executorMap": {
        "javascript": "node",
        "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
        "c": "gcc -o $fileNameWithoutExt $fullFileName && $fileNameWithoutExt",
        "cpp": "g++ -o $fileNameWithoutExt $fullFileName && $fileNameWithoutExt",
        "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "php": "php",
        "python": "$pythonPath $fullFileName",
        "perl": "perl",
        "ruby": "ruby",
        "go": "go run",
        "lua": "lua",
        "groovy": "groovy",
        "powershell": "powershell -ExecutionPolicy ByPass -File",
        "bat": "cmd /c",
        "shellscript": "bash",
        "fsharp": "fsi",
        "csharp": "scriptcs",
        "vbscript": "cscript //Nologo",
        "typescript": "ts-node",
        "coffeescript": "coffee",
        "scala": "scala",
        "swift": "swift",
        "julia": "julia",
        "crystal": "crystal",
        "ocaml": "ocaml",
        "r": "Rscript",
        "applescript": "osascript",
        "clojure": "lein exec",
        "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
        "racket": "racket",
        "ahk": "autohotkey",
        "autoit": "autoit3",
        "kotlin": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
        "dart": "dart",
        "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        "haskell": "runhaskell",
        "nim": "nim compile --verbosity:0 --hints:off --run"
    },
....ect
Truman likes this post
Reply
#5
I made these changes but am still unable to change color theme.
Reply
#6
You mess up settings the easiest way is to reset/delete settings.json look here.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020