我为什么应该购买 ReSharper 或 CodeRush?

发布于 2024-11-03 15:51:39 字数 244 浏览 3 评论 0原文

我试图在这里找到类似的问题,但看来你们只比较这些工具,每个人都知道为什么它这么棒:)

好吧..我不知道。我知道,这些工具“非常酷,很快就能让我变成超级程序员”。但我想知道为什么

它们有什么伟大之处,以至于它们如此昂贵(对于一个插件来说)?
一些日常使用的真实例子会很好。

我看到的是一个插件,它的功能与使用 Visual Studio 可以实现的功能基本相同,但具有不同的快捷方式。

I was trying to find similar questions here, but it appears that you guys only compare these tools and everyone know why is it so great :)

Well.. I don't. I know, that these tools are 'ultra cool and will transform me into a supercoder in a minute'. But I would like to know why?

What's so great in them, that they are so expensive (for a plugin)?
Some real example from everyday usage would be nice.

What I see, is a plugin, that does mostly the same what you can achieve with visual studio, but with different shortcuts.

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

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

发布评论

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

评论(5

最后的乘客 2024-11-10 15:51:39

为什么不直接下载并安装试用版并亲自尝试一下呢?它是免费的。

编辑:

我将 resharper 比作使用 DVR。你可以整天解释它的好处,但人们就是不会“明白”。但是,一旦他们使用了一个,他们就再也不想回到以前的状态了。

您可以尝试 Resharper 31 天< /a>.它有点过时,因此缺少许多新功能,但它应该为您提供坚实的基础。

另外,请尝试Resharper 上的 Dimecasts Screencast。再说一遍,它比较旧,但你会明白的。

Why not just download and install the trial version and try it for yourself? It's free.

EDIT:

I liken resharper to using a DVR. You can explain the benefits all day long, and people just won't 'get it'. But, once they use one, they never want to go back to the way it was before.

You might try 31 Days of Resharper. It's a bit dated, so it's missing a lot of newer features, but it should give you a solid foundation.

Also, try the Dimecasts Screencast on Resharper. Again, it's older, but you'll get the idea.

走过海棠暮 2024-11-10 15:51:39

您无法使用 Visual Studio 完成 ReSharper 为您提供的功能。如果是这样,JetBrains 将永远不会出售副本。

它被认为比我工作的 Visual Studio 的基本功能有了足够的改进,公司中的每个 .NET 开发人员都使用它。如果没有它,没有人会写出一行 C#。 Cool 与此无关,而且该公司对许可费也毫不犹豫。这是值得的。

You can't do what ReSharper gives you with Visual Studio. If that were the case, JetBrains would never sell a copy.

It's considered enough of an improvement over bare bones Visual Studio where I work that every .NET developer in the company uses it. No one writes a line of C# without it. Cool has nothing to do with it, and the company doesn't balk at the license fees. It's worth it.

海的爱人是光 2024-11-10 15:51:39

我喜欢 Mark Miller 曾经描述 CodeRush 的方式。他说(转述)它可以让你以思考的速度编码。

I liked how Mark Miller once described CodeRush. He said (paraphrasing) that it lets you code at the speed of thought.

め可乐爱微笑 2024-11-10 15:51:39

嗯,新的 VS2010 包含了这些工具多年前引入的一些想法。顺便说一下,我使用了 ReSharper,并且我保证它比 VS 能提供更多功能。
最重要的功能之一是它允许在所有代码中强制执行相同的样式,包括命名约定和缩进(仅举几例)。这使得编码人员组能够处理看起来总是“熟悉”的代码。
使用这些工具可以极大地提高生产效率,因为它们可以通过简单的组合键为您建议和编写大量代码。好吧,VS 包含了一些代码生成,但它没有涵盖可以完成此操作的相同数量的地方。功能太多,这里无法一一列举,详细可以到官网查看。
它们(至少是我经常使用的 ReSharper)还改进了解决方案导航,通过易于访问和干净的界面查找文件、类和方法。
我唯一能说的是,一旦你尝试了,就很难回头了。
您能做的最好的事情就是下载试用版并亲自尝试。我相信您会明白为什么它们如此有益。

已编辑,从评论中添加

  • 跳转到解决方案资源管理器中的文件。
  • 强制执行命名约定,例如“m_variableName”、“MethodName”或“privateVariableName”。
  • 自动命名创建...如果您有一个名为“CoolFileReader”的类,它会自动建议(根据约定)“m_coolFileReader”。
  • 以灰色突出显示未使用的变量和 using 指令。
  • 建议在同一解决方案中添加对其他项目的引用。
    ... 更多的...

Well, the new VS2010 included some ideas that those tools introduced years ago. By the way, I used ReSharper and I assure that it has much more that VS can offer.
Amongst the most important features it allows to enforce the same style along all the code, including naming convention and indentation (just to mention a couple). This allows groups of coders to work on code that looks always "familiar".
The production is drastically improved with those tools because they can suggest and write for you a lot of code with a simple key combination. Ok, VS includes some of this code generation but it doesn't cover the same amount of places where this can be done. It is too extensive to write here all the features and you can check them in detail on the official websites.
They (at least ReSharper that I used a lot) also improves the solution navigation, finding files, classes, methods with an easy to access and clean interface.
The only thing I can say is that once you try it, it is difficult to go back.
The best thing you can do is download the trial and try it yourself. I am sure that you will see why they are so beneficial.

Edited, added from the comments:

  • Jump to file in solution explorer.
  • Enforces naming convention such as 'm_variableName' or 'MethodName', or 'privateVariableName'.
  • Automatic naming creation... if you have a class named 'CoolFileReader' it automatically suggests (based on the convention) 'm_coolFileReader'.
  • Highlights in gray the unused variables and using directives.
  • Suggests to add references to other projects in the same solutions.
    ... more...
ˉ厌 2024-11-10 15:51:39

由于 IDE 没有发挥应有的帮助,开发人员必须处理很多事情。到目前为止,重构是最耗时的过程之一,有时感觉对劳动力的回报微乎其微。然后就很难确保您在此过程中所做的事情是正确的。当然,有一些测试用例可以防止事情变得太糟糕,但有些事情会在没有通知的情况下悄悄发生。 ReSharper 等工具改变了这一点。他们的重构工具是一流的,可以缩短开发时间。更好的是它的直观性。我偶尔发现自己编写了一个 foreach 循环,将其重构为 linq 语句。如果你还没有给它机会,我强烈推荐它。

编辑:另一件事我忘了提及。我有 Netbeans 和 Eclipse 背景。当我因为工作原因转向 VS 时,ReSharper 将这些应用程序的一些行为引入了 VS。如果您处于类似的过渡情况,那么这是另一个额外的好处。

There are a great deal many things that developers have to cope with due to the IDE not being as helpful as it could be. Refactoring, by far, is one of the most time-consuming processes with at times what feels like minimal payoff for the labors. Then there's the difficulty in ensuring that what you have done in the process is correct. Of course, there's test cases to prevent things from going too badly, but some things creep in without notice. Tools like ReSharper change that. Their refactoring tooling is top-notch, and can shave hours off of development time. What's better, is its intuitiveness. I have occasionally found myself writing a foreach loop to have it refactored into a linq statement. If you haven't given it a chance, I highly recommend it.

EDIT: Another thing I forgot to mention. I come from a background of Netbeans and Eclipse. When I was transitioning to VS due to my job, ReSharper brought in some of the behaviors of those applications into VS. If you are in a similar transitional situation, then it's another additional benefit.

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