Whenever I try to change the theme in Vs code, it displays an error message "unable to write into user settings" and asks me to make changes using settings.json.
VS Code, changing the color theme
629 Views Asked by Akash Chouhan At
1
There are 1 best solutions below
Related Questions in SETTINGS
- Media files end up in in a pycharm subdirectory when uploading
- Android Studio (Intellij) keeps adding second line to modules.xml
- Visual Studio 2013 CE keeps overwriting Task list
- Vim: last word on user specific settings?
- C# - Settings.Default.Save() is very slow
- Ivy Settings - Changing the way conflicts are resolved
- How to check if drop down menu of ActionBar is active
- how to permanently save options(dplyr.width = Inf) in Rstudio?
- change the settings file items in .Net console application
- Eclipse error: "Path must include project and resource name" on invoking clean
- Error when going into new activity Android
- Railo cannot add event gateway under service in web admin
- Settings are not stored correctly
- drupal issue with install profile and domain module?
- How to change settings from within my app with code in Android
Related Questions in VISUAL-STUDIO-CODE
- vscode file icons
- Building C# code in VSCode on Mac
- How do I support jasmine and es6 syntax in Visual studio Code?
- JS Code didn't work, trying do a demo in css lessons
- Debug Java in Brackets editor or Visual Studio Code
- Visual Studio Code, C# support on Windows
- What is the use of the Developer Tools in VS Code?
- Option to push disabled in Visual Studio Code
- How do I include 'System.Runtime.Serialization.Json' namespace in my VSCode project on Mac OS X?
- Using System.Web.Http on mac os x
- VSCode intelliSense autocomplete for javascript
- Set language for syntax highlighting in Visual Studio Code
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Predefined type 'System.Object' is not defined or imported [dnxcore50]
- VS code appending special characters on paste
Related Questions in VS-COLOR-THEME-EDITOR
- Visual Studio 2017 tooltip color issue
- How do I create a custom Semantic Token for VSCode?
- Visual Studio Code - Change the colour of disabled sideBar items
- Visual Studio 2017 color changes
- Visual Studio - Color Theme Designer: Selected text wrong background color
- Color Theme editor VS 2015: Cannot Create New Color Theme
- VS Code "Identifier under caret" background highlight color
- Visual Studio 2019 Color Theme Editor - How to make background color of Solution Explorer transparent?
- How do I create a colour theme in VS Code
- VSCode Color Theme customization for golang method-parameters
- vscode text mate tokenizer broken?
- How can i edit the default color theme and keyboard shortcuts in google colab?
- Any Way to install/import sublime/vscode color theme for visual studio 2015?
- VS Code color theme debugging
- VS Code, changing the color theme
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
From your post it's impossible to determine why is VS Code not permitted to write to the settings file. It is possible your settings file is write-protected, the Code's process doesn't have sufficient write permissions or there is a third-party application preventing Code from writing to the file.
However, you can always edit your settings file manually. Depending on your system, you can find the file in the following locations, as described in the Code's documentation:
%APPDATA%\Code\User\settings.json$HOME/Library/Application Support/Code/User/settings.json$HOME/.config/Code/User/settings.jsonConsidering Code itself is having issues writing to the file, I'd recommend trying a different text editor to edit the file. To change your theme, simply add the following key-value pair to the JSON dictionary:
... so for example:
Also make sure all key-value pairs in the JSON file are separated with a comma, otherwise you'd get a syntax error the next time Code will try to parse your settings file. You can find more about Code's themes in the documentation.
And while you are working directly with the settings file, I'd recommend checking its properties to see what could be preventing Code from writing into it. This shouldn't happen under normal circumstances.