.net 工具比较:Visual Assist X 和 Resharper

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/148678/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 10:08:35  来源:igfitidea点击:

Tool Comparison: Visual Assist X and Resharper

.netresharpervisual-studio-addinsvisual-assist

提问by Graviton

.NET developers out there! Need your opinion here!

.NET 开发人员在那里!这里需要你的意见!

I am now using Visual Assist X, a decent piece of software, indeed. But the .NET bloggers seem to prefer Resharpermore. I might want to consider a switch over, but before that I want your guys opinion first.

我现在正在使用Visual Assist X,确实是一款不错的软件。但 .NET 博主似乎更喜欢Resharper。我可能想考虑转换,但在此之前,我先征求你们的意见。

回答by Rasmus Faber

Resharper is much better for C# code (and supposedly VB.Net, but I haven't tried that). Unfortunately there is no support for C/C++, so if you need that, you might want to keep Visual Assist around.

Resharper 对于 C# 代码(据说是 VB.Net,但我没有尝试过)要好得多。不幸的是,不支持 C/C++,因此如果您需要它,您可能希望保留 Visual Assist。

They don't coexist very well, unfortunately, so you may need to unload one, then load the other, when switching between C/C++ and C#.

不幸的是,它们不能很好地共存,因此在 C/C++ 和 C# 之间切换时,您可能需要先卸载一个,然后再加载另一个。

To see the magic of Resharper, I would recommend watching the "Resharper Jedi" video.

要了解 Resharper 的魔力,我建议您观看“Resharper Jedi”视频

回答by Dima Stefantsov

C/C++ = Visual Assist X.

C/C++ = 视觉辅助 X。

For me, C# = ReSharper + Visual Assist X.

对我来说,C# = ReSharper + Visual Assist X。

Needless to say, ReSharper is much more powerful for C# development, than VA. But there are some features, like ability to show just methods in suggestions list, or highlight nearest scope that are in VA, but no equivalent in R#. I use both. Looks like they live pretty well together: i use default settings for VA, and i had to select ReSharper-->Options-->IntelliSense-->General-->Visual Studio to enable VA version of IntelliSense instead of ReSharper's one. I also customized identifiers colors in ReSharper, now they look like VA default colors, but show additional information (like Mutable Local Variables are bold).

毋庸置疑,ReSharper 在 C# 开发方面比 VA 强大得多。但是有一些功能,例如能够在建议列表中仅显示方法,或突出显示 VA 中最近的范围,但在 R# 中没有等价物。我两个都用。看起来他们相处得很好:我使用 VA 的默认设置,我不得不选择 ReSharper-->Options-->IntelliSense-->General-->Visual Studio 以启用 VA 版本的 IntelliSense 而不是 ReSharper 的版本。我还在 ReSharper 中自定义了标识符颜色,现在它们看起来像 VA 默认颜色,但显示附加信息(如可变局部变量是粗体)。

回答by Hans L?ken

I know you only asked for a comparison of Resharper vs. Visual Assist but if you are doing .NET development you may also want to consider "Refactor! Pro".

我知道您只要求比较 Resharper 与 Visual Assist,但如果您正在进行 .NET 开发,您可能还需要考虑"Refactor! Pro"

I remember using VA years ago when doing Visual C++ development (and earlier than that the infamous CodeWiz) but with .NET development I get the impression that the majority of developers seem to use either ReSharper or Refactor!.

我记得几年前在进行 Visual C++ 开发时使用 VA(比臭名昭著的 CodeWiz 更早),但在 .NET 开发中,我的印象是大多数开发人员似乎使用 ReSharper 或 Refactor!。

Refactor! also integrates with a code-generation tool called "CodeRush" and I've seen them both used very effectively together with Testdriven.Net (check out the Summer of NHibernatescreencasts).

重构!还集成了一个名为“CodeRush”的代码生成工具,我已经看到它们与 Testdriven.Net 一起非常有效地使用(查看夏天的 NHibernate截屏视频)。

Personally I use Resharper and I am very pleased with how much it has increased my productivity but I'm sure you'll get equal benefit with Refactor!.

我个人使用 Resharper,我对它提高了我的工作效率感到非常满意,但我相信你会通过 Refactor! 获得同样的好处。