如何导出设置? [英] How can I export settings?

查看:22
本文介绍了如何导出设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何导出所有 Visual Studio Code 设置和插件并将它们导入另一台机器?

How is it possible to export all Visual Studio Code settings and plugins and import them to another machine?

推荐答案

Visual Studio Code 有一个扩展,名为 设置同步.

There is an extension for Visual Studio Code, called Settings Sync.

它通过 Gist(Gist by GitHub)同步您的设置.它的工作原理与名为 settings-sync 的 Atom.io 扩展相同.

It synchronises your settings by gist (Gist by GitHub). It works the same as the Atom.io extension called settings-sync.

更新:

此功能现已内置在 VS Code 中,值得切换到官方功能.(https://stackoverflow.com/a/64035356/2029818)

This feature is now build in VS Code, it is worth to switch to official feature. (https://stackoverflow.com/a/64035356/2029818)

您现在可以使用 VSCode 的内置设置同步跨设备同步所有设置.它位于代码 > 下.首选项打开设置同步...

You can now sync all your settings across devices with VSCode's built-in Settings Sync. It's found under Code > Preferences > Turn on Settings Sync...

这篇关于如何导出设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆