Skip to content

settings.json is not being loaded in v3.7.1 #2322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eElor opened this issue Nov 17, 2020 · 1 comment
Closed

settings.json is not being loaded in v3.7.1 #2322

eElor opened this issue Nov 17, 2020 · 1 comment

Comments

@eElor
Copy link

eElor commented Nov 17, 2020

I just updated code-server to v3.7.1 using conda and noticed that my old settings were not loaded.
My settings file is not overwritten, but manually inspecting it in a code-server session ( Ctrl + , ) it appear to be empty. Even though the path opened is the correct one and the inspection of apparently the same file outside and inside code-server correctly displays the contents of settings.json, code-server is not correctly loading its contents.

user-data-dir is automatically being set to ~/.local/share/code-server. Manually setting user-data-dir to another dir (e. g. /home/username/code-server) containing a copy of settings.json doesn't help either.

  • Web Browser: Edge
  • Local OS: Win10
  • Remote OS: fedora
  • code-server --version: 3.7.1 2bf91ff
@code-asher
Copy link
Member

code-asher commented Nov 18, 2020

Tracking for this here: #2274

The gist is that the settings seem to be stored in browser storage now rather than in the file on disk. I'm considering patching VS Code to revert that behavior. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants