如何在计算机之间同步我的 Resharper 设置?

发布于 2024-09-10 17:06:11 字数 273 浏览 4 评论 0原文

我家里有一台工作电脑和一台笔记本电脑,我使用 Resharper 进行开发。不幸的是,每次我添加实时模板或更改格式设置时,我都必须在计算机之间导出和导入设置/模板。

对于 Visual Studio 设置,我使用自动将我的设置保存到此文件选项结合 Dropbox 上的文件来完成此操作。有没有办法使用 Resharper 设置/模板来做到这一点?

I have a work PC and a laptop at home that I dev on using Resharper. Unfortunately, every time I add a live template or change my formatting settings, I have to export and import the settings/templates between computers.

For visual studios settings, I use the Automatically save my settings to this file option in conjunction with a file on Dropbox to accomplish this. Is there an any way to do this with Resharper settings/templates?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

萌逼全场 2024-09-17 17:06:11

对于 ReSharper 5,您可以使用 ReSharper 设置管理器插件,它可以保存所有 ReSharper 设置到单个文件。这通常用于通过源代码管理在团队之间共享设置,但您当然可以仅使用它生成的配置文件通过 Dropbox 方法在计算机之间移动设置。只需确保您在每台计算机上安装了该插件即可。该插件监视配置文件更改,并在发现更改时自动更新 ReSharper 设置 - 无需重新启动 VS。

我在此处撰写的一篇文章中讨论了自动共享 ReSharper 设置以及使用此插件(在团队环境中):

http://gojisoft.com/blog/2010/05/10/coding-standards-using-resharper/

更新

对于那些可以升级到 ReSharper 6.1.1 及更高版本,ReSharper 现在内置支持跨团队共享所有设置。

For ReSharper 5 you can use the ReSharper Settings Manager Plugin which saves all ReSharper settings to a single file. This would usually be used to share settings amongst a team through source control, but you could of course just use the config file it generates to move settings between computers with your Dropbox method. Just ensure you have the plugin installed on each machine. The plugin monitors for config file changes and will automatically update ReSharper settings when it sees a change - no VS restarts necessary.

I discuss automating sharing of ReSharper settings and using this plugin (in a team context) in an article I wrote here:

http://gojisoft.com/blog/2010/05/10/coding-standards-using-resharper/

Update

For those that can upgrade to ReSharper 6.1.1 and above, ReSharper now has built-in support for sharing all settings across teams.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文