有什么方法可以在实例之间同步我的Visual Studio Code设置吗? [英] Is there any way to sync my Visual Studio Code settings between instances?
问题描述
我希望能够以某种方式将我的VS Code用户设置(文件>首选项>用户设置)同步到云,以便在Windows 10和Visual Studio中的多个安装之间轻松共享它们.
I'd like to be able to sync my VS Code user settings (File > Preferences > User Settings) to the cloud somehow so I can easily share them between multiple installations, as in Windows 10 and Visual Studio.
是否有支持的方法?直接支持Code会很棒,但是否则可以将我的settings.json位置移动到Dropbox或OneDrive文件夹中.
Is there a supported way of doing this? Direct support in Code would be great, but otherwise being able to move my settings.json location to a Dropbox or OneDrive folder would work too.
我正在寻找一种自动而无声的方法.手动导出/导入太麻烦了,这不是我想要的.
I'm looking specifically for a way of doing this automatically and silently. Manually exporting/importing is too cumbersome and isn't what I'm looking for.
更新:这里有一个功能要求 .如果需要此功能,请点赞.
Update: there's a feature request for this here. If you want this feature, please give it a thumbs up.
推荐答案
这终于是内置功能:请参见在Visual Studio代码中进行设置同步.
This is finally a built-in feature: see Settings Sync in Visual Studio Code.
注意:从2020年5月的1.46版开始,同步当前处于预览状态.
Note: Sync is currently in preview as of the May 2020 Version 1.46.
这篇关于有什么方法可以在实例之间同步我的Visual Studio Code设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!