有什么方法可以在实例之间同步我的 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.
有支持的方法吗?代码中的直接支持会很棒,但除此之外,能够将我的 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.
更新:这是一个内置功能在 VS 代码中.
推荐答案
这终于是一个内置功能:参见 Visual Studio Code 中的设置同步.
This is finally a built-in feature: see Settings Sync in Visual Studio Code.
这篇关于有什么方法可以在实例之间同步我的 Visual Studio Code 设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!