2

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 命令“获胜”。是否有捷径可寻?

4

1 回答 1

2

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.

于 2010-11-08T17:03:04.617 回答