为 VS2010 购买 R# 真的值得吗? [英] Is it really worth purchasing R# for VS2010?

查看:26
本文介绍了为 VS2010 购买 R# 真的值得吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说 R#5.0(仍处于测试阶段)将支持 VS 2010.我的问题是VS2010 == VS2008 + ReSharper?

I heard that R#5.0 (still in beta) will support VS 2010. My question is VS2010 == VS2008 + ReSharper ?

我知道 VS2010 有很多改进,所以我不确定天气是否真的值得为 VS2010 购买 R#5.0?

I know there are many improvements to VS2010, so I 'm not sure weather is it really worth purchasing the R#5.0 for VS2010?

推荐答案

好吧,我还没有深入探索 VS 2010 新的重构功能,但我的理解是 VS 实现了一些但绝对不是所有的 resharper 功能(来自MSDN):

Well, I haven't explored VS 2010 new refactoring features that much, but its my understanding that VS has some but definitely not all of resharpers features implemented (From MSDN):

导航到

您可以使用导航以特征搜索符号或源代码中的文件.

You can use the Navigate To feature to search for a symbol or file in the source code.

导航至可让您找到特定的在解决方案中的位置或探索溶液中的元素.它可以帮助你选择一组好的匹配结果来自查询.

Navigate To lets you find a specific location in the solution or explore elements in the solution. It helps you pick a good set of matching results from a query.

您可以搜索符合以下条件的关键字使用 Camel 包含在符号中大小写和下划线字符将符号划分为关键字.

You can search for keywords that are contained in a symbol by using Camel casing and underscore characters to divide the symbol into keywords.

有关更多信息,请参阅如何:搜索对象、定义和参考文献(符号).

For more information, see How to: Search for Objects, Definitions, and References (Symbols).

从使用中生成

生成自使用功能让您可以使用类和在定义成员之前.你可以为任何未定义的生成存根类、构造函数、方法、属性、您要使用的字段或枚举但尚未定义.你可以无需生成新类型和成员在代码中留下您当前的位置,这可以最大限度地减少对您的干扰工作流程.

The Generate From Usage feature lets you use classes and members before you define them. You can generate a stub for any undefined class, constructor, method, property, field, or enum that you want to use but have not yet defined. You can generate new types and members without leaving your current location in code, This minimizes interruption to your workflow.

从使用情况生成支持编程风格,例如测试优先发展.

Generate From Usage supports programming styles such as test-first development.

IntelliSense 建议模式

IntelliSense 现在提供两个IntelliSense 的替代品语句完成,完成模式和建议模式.使用建议模式适用于类和成员在使用之前被使用定义.

IntelliSense now provides two alternatives for IntelliSense statement completion, completion mode and suggestion mode. Use suggestion mode for situations where classes and members are used before they are defined.

在建议模式下,当您输入时编辑器,然后提交条目,您输入的文本已插入编码.当您提交条目时完成模式,编辑器显示上突出显示的条目成员名单.

In suggestion mode, when you type in the editor and then commit the entry, the text you typed is inserted into the code. When you commit an entry in completion mode, the editor shows the entry that is highlighted on the members list.

当 IntelliSense 窗口打开时,您可以按 CTRL+ALT+空格键在完成模式和建议模式.

When an IntelliSense window is open, you can press CTRL+ALT+SPACEBAR to toggle between completion mode and suggestion mode.

所以我想这取决于您要使用哪些 Resharpers 功能.如果您对上述肯定是很大的改进感到满意,那么您就不需要 Resharper.

So I guess it would depend on which of Resharpers features you want to use. If you are satisfied with the above which is certainly great improvements, then you don't need Resharper.

关于性能问题,由于更紧密的集成,它可能会表现得更好.

On the performance question, well it might perform better because of tighter integration.

就我个人而言,以上让我仍然需要很多功能,例如(只是我现在能想到的那些 - 可能更多):

Personally the above leaves me still needing a lot of features like (just the ones i can think of right now - might be more):

  • 据我所知,只有大约 6 次重构,其中 resharper 目前有超过 30 次
  • 没有导入类型完成,我一直使用它.一种快捷方式添加到引用并添加导入语句
  • 没有智能完成
  • 更改命名空间以遵循导航结构并使用一个快捷方式更新所有引用
  • Goto 在 R# 中更高级,您可以转到继承者和基础,文件成员、最近的文件和编辑以及快速转到功能
  • Resharpers 静态分析比您从 VS 获得的要全面得多

那你需要什么?(我绝对不会放弃 Resharper)

So what do you need? (I am definitely not giving up Resharper)

这篇关于为 VS2010 购买 R# 真的值得吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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