Closed michaelbrewer closed 5 months ago
Let us wait for @code-asher's views on what's the difference between User and Machine settings and which one should we use.
When i saved to User
it would not take effect on vscode-web
, i think they want you to use a github account for syncing settings or it stores it in the browser application data?
Only Machine
would actually update.
User
might be safer, as there are some settings that cannot be applied through Machine
.
Only Machine would actually update.
Are there settings that only work in Machine
but not User
? I thought it was the other way around.
I think maybe we could just expose both and let the template author decide where to put them. settings.user
and settings.machine
maybe.
Oh sorry, this is VS Code web, not code-server!
Yes, you are right, upstream's web version only reads browser storage for user settings, it does not read User
settings on the disk. (We patch this in code-server so it reads from the disk.)
So yes, Machine
is the only option here.
User
might be safer, as there are some settings that cannot be applied throughMachine
.Only Machine would actually update.
Are there settings that only work in
Machine
but notUser
? I thought it was the other way around.I think maybe we could just expose both and let the template author decide where to put them.
settings.user
andsettings.machine
maybe.
exposing both settings.user
and settings.machine
is a great idea for another PR. Could be added to code-server too.
Add support for pre-configuring settings with
vscode-web
likecode-server