如何设置 CodeRush 和 Visual Assist X 以免相互冲突?

发布于 2024-09-30 16:30:31 字数 403 浏览 0 评论 0原文

Developer Express 的 CodeRush 和 Whole Tomato 的 Visual Assist X 都是出色的工具。我发现 CodeRush 有一个更漂亮的 UI,它的“标记”机制非常有用,并且它有更多可用的重构选项。另一方面,CodeRush 在重构时偶尔会犯错误,特别是在处理 C++ 项目时。因此我通常在那里禁用 CR。 VAX 的重构次数不如 CR,但它们都始终有效。 VAX 还擅长以不显眼的方式让 Visual Studio 变得更好,例如改进现有功能,而不是像 CR 那样在 IDE 中构建 IDE。

长话短说,我喜欢这两种工具,并且想使用这两种工具。问题是他们做了一些相互冲突的事情。我想进行设置,以便每当 CodeRush 命令和 Visual Assist 命令之间发生冲突时,VAX 命令“获胜”。有没有简单的方法可以做到这一点?

Both Developer Express' CodeRush and Whole Tomato's Visual Assist X are excellent tools. I've found that CodeRush has a prettier UI, and it's "marker" mechanic is extremely useful, and it has a larger palette of refactorings available. On the other hand, CodeRush occasionally makes mistakes with it's refactorings, particularly when working with C++ projects. Therefore I usually disable CR there. VAX doesn't have near the number of refactorings as CR does, but they all consistently work. VAX is also much better at unobtrusively making Visual Studio better -- doing things like improving features that already exist, instead of CR's method of almost building an IDE inside of an IDE.

Long story short, I like both tools, and would like to use both tools. The problem is that they do a few things that conflict. I would like to set things up such that whenever there is a conflict between a CodeRush command and a Visual Assist command, the VAX command "wins". Is there an easy way to do this?

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

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

发布评论

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

评论(1

琉璃梦幻 2024-10-07 16:30:31

ReSharper 的作用是,当它有一个选项与默认 Visual Studio 设置冲突时,它会安装一个元帅,当您选择该选项时,它会询问您想要赢得哪一个。这给了我们一个选择。

该选项是找出这两个工具之间有哪些选项冲突,并执行以下操作之一:

  1. 实现一个编组,询问您选择哪个选项,或者您可能更喜欢的选项

  2. 强制将此选项的操作应用于您喜欢的工具。

可以设置一个宏来执行这项工作。要实现这样的脚本,了解哪些类型的选项发生冲突非常重要。您是在谈论快捷方式、菜单选项、工具栏选项吗?有了这些信息和您的 Visual Studio 安装,应该可以自动更新所有选项并选择您想要的选项。

What ReSharper does is that when it has an option that conflicts with the default Visual Studio settings, it installs a marshal that when you choose the option, asks you which one you want to win. That gives us an option.

The option would be to find out what options conflict between these two tools and do one of the following:

  1. Implement a marshal that asks you which option to choose or, the one you probably prefer

  2. Force the action of this option to the tool you prefer.

It may be possible to device a macro that performs this job. To implement such a script, it's important to know what type of options are conflicting. Are you talking about shortcuts, menu options, toolbar options? With this information and your Visual Studio installation, it should be possible to automatically update all the options and pick the one you want.

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