C
Coder.com•2w ago
Katorly

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
No description
9 Replies
Codercord
Codercord•2w ago
<#1293904770079133736>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Atif
Atif•2w ago
do you see it in ~/.vscode-server/data/Machine/settings.json
sharkymark
sharkymark•2w ago
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
Katorly
Katorly•2w ago
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
{
"git.useIntegratedAskPass": false,
"github.gitAuthentication": false
}
{
"git.useIntegratedAskPass": false,
"github.gitAuthentication": false
}
Atif
Atif•2w ago
Interesting. @asher do you have any idea on what might be going here?
Katorly
Katorly•2w ago
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.
Phorcys
Phorcys•2w ago
yes, I think VSCode Web stores in the browser whereas code-server stores on the server
sharkymark
sharkymark•2w ago
my bad, didn't catch you are using Microsoft's code-server (VS Code Web) - good luck!
Katorly
Katorly•2w ago
Thank you. Problem solved. I'll switch back to code-server then 😂
Want results from more Discord servers?
Add your server