Where can I find settings.json for vscode web?
I use the docker template and use the VS Code Web (https://registry.coder.com/modules/vscode-web) module.
I looked up the historical posts and they said settings.json is located at
~/.local/share/code-server/User/settings.json
, but I found that the ~/.local/share/code-server/User/
folder was not created, and even if I used the instructions to create and write settings.json, vscode's settings did not change.
When I manually opened vscode's settings file and copied its absolute path, it returned (Settings) /User/settings.json
.
So, where can I find vscode's settings.json now? Thank you.VS Code Web - Coder Registry
VS Code Web - Visual Studio Code in the browser
9 Replies
<#1293904770079133736>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
do you see it in
~/.vscode-server/data/Machine/settings.json
If you are using code-server, which I think you are, since it's in that template, then for me, it does not have a settings.json until I start making changes to the settings, and then creates the file in that location
~/.local/share/code-server/User
Nope, the content in
~/.vscode-server/data/Machine/settings.json
is completely different from the content in the settings.json of VS Code Web opened manually.
When the settings.json of VS Code Web is
, the content in ~/.vscode-server/data/Machine/settings.json
is
Interesting. @asher do you have any idea on what might be going here?
Thanks for the reply. However, in my case, after making changes to the settings in VS Code Web,
~/.local/share/code-server/User/settings.json
was not created, and if it was manually created before, it was not modified.
There is an additional information that I forgot to mention: the settings of VS Code Web seem to be stored in the browser, because when I modified settings.json and switched to another device, settings.json became the default; when I switched back to the previous device, settings.json changed back to the one I modified before.yes, I think VSCode Web stores in the browser whereas code-server stores on the server
my bad, didn't catch you are using Microsoft's code-server (VS Code Web) - good luck!
Thank you. Problem solved. I'll switch back to code-server then 😂