vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Add export, import settings

Open okian opened this issue 10 years ago • 10 comments

It would be great if we could export all settings, shortcuts, snippets, extensions in one step and import them in another machine.

okian avatar Feb 09 '16 04:02 okian

fyi @bpasero @joaomoreno

alexdima avatar Feb 09 '16 07:02 alexdima

Can this be made way that it actually is integrated with git?

What VsCode requires to integration may be user to set "git repository for user settings", and whenever user wants they can push changes to github and they can be pulled (syncronized in other locations).

I can currently do this manually because VSCode relies on json files (which is good thing), however some tooling may make this kind of syncronizing killer feature.

Why i propose this is truth that in environments where export/import is made by hand (create file -> import file), that is often actually syncronized hard way (via email for example). Its true that that file can be placed under version control (where it should be), however then cycle is following:

  1. Export file to version control location and overwrite existing.
  2. Add, Commit, Push etc.
  3. Pull etc.
  4. Import. Question is, should this really be that hard?

Git integration makes syncronizing environments between team easy if required (however because workspace settings exist in vscode this may be rare case). If you want to use common settings just use master, if you want to modify it based on master and use it as base, just fork or branch it and merge following changes whenever you want and configure VSCode to use your branch instead.

savpek avatar Mar 31 '16 18:03 savpek

Comment so I'm participating.

Tyriar avatar Mar 31 '16 18:03 Tyriar

This would be very useful

Arrow7000 avatar Jun 09 '16 10:06 Arrow7000

How can I export all settings to another machine now?

livc avatar Mar 21 '17 07:03 livc

Duplicate https://github.com/Microsoft/vscode/issues/2743

Tyriar avatar Mar 21 '17 22:03 Tyriar

Reopened this to treat this as a separate settings sync request

sandy081 avatar Mar 27 '20 17:03 sandy081

@sandy081 but we already have a way of doing this now, why add another way that no one has asked for yet and even fewer people would use now?

Tyriar avatar Mar 27 '20 17:03 Tyriar

@Tyriar Some users asked for it in #2743. I recommended to open new issue instead of polluting the original one. - https://github.com/microsoft/vscode/issues/93572 (Since I did not know this issue already exists).

Now that I have seen this request, I reopened this. We shall not mark this as dup of #2743 as they are different requests.

sandy081 avatar Mar 30 '20 10:03 sandy081

We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

vscode-triage-bot avatar Nov 16 '20 14:11 vscode-triage-bot