gpt4 book ai didi

visual-studio-2010 - 为 VS2010 购买 R# 真的值得吗?

转载 作者:行者123 更新时间:2023-12-03 21:19:37 25 4
gpt4 key购买 nike

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

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

最佳答案

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

Navigate To

You can use the NavigateTo feature to search for a symbol orfile in the source code.

Navigate To lets you find a specificlocation in the solution or exploreelements in the solution. It helps youpick a good set of matching resultsfrom a query.

You can search for keywords that arecontained in a symbol by using Camelcasing and underscore characters todivide the symbol into keywords.

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

Generate From Usage

The Generate FromUsage feature lets you use classes andmembers before you define them. Youcan generate a stub for any undefinedclass, constructor, method, property,field, or enum that you want to usebut have not yet defined. You cangenerate new types and members withoutleaving your current location in code,This minimizes interruption to yourworkflow.

Generate From Usage supportsprogramming styles such as test-firstdevelopment.

IntelliSense Suggestion Mode

IntelliSense now provides twoalternatives for IntelliSensestatement completion, completion modeand suggestion mode. Use suggestionmode for situations where classes andmembers are used before they aredefined.

In suggestion mode, when you type inthe editor and then commit the entry,the text you typed is inserted intothe code. When you commit an entry incompletion mode, the editor shows theentry that is highlighted on themembers list.

When an IntelliSense window is open,you can press CTRL+ALT+SPACEBAR totoggle between completion mode andsuggestion mode.


所以我想这取决于您要使用哪些 Resharpers 功能。如果您对上述肯定是很大的改进感到满意,那么您就不需要 Resharper。
在性能问题上,由于更紧密的集成,它可能会表现得更好。
就个人而言,以上让我仍然需要很多功能,例如(只是我现在能想到的那些 - 可能更多):
  • 据我所知,只有大约 6 次重构,其中 resharper 目前有超过 30
  • 没有导入类型完成,我一直使用它。一种快捷方式添加到引用并添加导入语句
  • 没有智能补全
  • 更改命名空间以遵循导航结构并使用一个快捷方式更新所有引用
  • Goto 在 R# 中更高级,您可以转到继承者和基础,
    文件成员、最近的文件和编辑以及快速转到功能
  • Resharpers 静态分析比您从 VS 获得的要全面得多

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

    关于visual-studio-2010 - 为 VS2010 购买 R# 真的值得吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2260922/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com