ReSharper 8.2 is Released Along with dotTrace, dotCover Updates

We are still eager to deliver cross compatible joint releases, that’s why today we prepared a triple update for our .NET tools.

The following builds are already waiting for you to download and try: ReSharper 8.2, dotCover 2.7 and dotTrace Performance 5.5.4.

ReSharper 8.2, dotTrace 5.5.4 and dotCover 2.7

Here’s why these updates can be attractive to you:

ReSharper 8.2

As you might have already heard, lately we’ve been working on improving your TypeScript coding experience with ReSharper. Here’s a quick overview of what we’ve done in this regard:

  • ReSharper 8.2 significantly expands TypeScript support with smart completion, Create From Usage quick fixes and Import Module context action, navigation combos, naming settings, support for generics and compiler defined errors highlighting. For details on these features, please see an earlier post, More TypeScript support in ReSharper 8.2.
  • Jasmine 2.0 support for ReSharper’s unit test runner that works with JavaScript and TypeScript files now.
  • Other enhancements including Quick Documentation fixes (including a fix to an epic bug that could be easily qualified as the best way to hang and crash Visual Studio), a long-awaited fix for the red code problem with Xamarin installed and another 140+ fixes.

Please note that not all ReSharper plugins are ready for 8.2 and if you’re using plugins, you’ll see update notifications from the Extension Manager as new updates become available.

dotCover 2.7 & dotTrace Performance 5.5.4

With this minor update dotCover receives a standalone test runner which can be most useful for running manual tests outside Visual Studio, as well as for analyzing coverage snapshots.

Both dotCover 2.7 and dotTrace Performance 5.5.4 provide integration with the updated ReSharper 8.2.

Please download ReSharper 8.2, dotCover 2.7 and dotTrace Performance 5.5.4.

In terms of license eligibility, here’s a way to check if your licenses will work with these updates:

  • ReSharper 8.2 is a free upgrade for all personal and academic licensees who are eligible for ReSharper 8.0. It’s also a free upgrade with all commercial per-major-version licenses to 8.x, and with commercial subscription-based licenses purchased or renewed on March 21, 2013 or later.
  • dotCover 2.7 is a free upgrade for all licensees who have purchased or renewed their licenses on March 21, 2013 or later.
  • dotTrace Performance 5.5.4 is a free upgrade for all dotTrace Performance 5 licensees.

Discover more

Refactor code to use new C# language features

重构代码以使用新的 C# 语言功能

在使用任何语言时,向现代语言功能进行现代化改造或迁移有助于提高代码的可读性、效率和安全性。在这篇博文中,我们将研究对代码进行现代化改造的方式,从而优化代码。 利用现代语言功能 为何只为使代码现代化就要重构代码?倘若完好,何必修正?有时,人们会有充分的理由去升级或迁移到新版本的平台或语言。例如,语言逐渐演变并添加了功能,以便利用操作系统功能、设备和浏览器功能、云或其他技术。此外,语言更新还包括引入错误修正、更简洁的语法和语法糖,以及更高效的对象和数据处理方式。 对代码进行现代化改造的重构可以通过提高可读性和可维护性来显著提高代码质量。这是因为随着语言的逐渐演变,新添加的语法往往会有助于减少您必须编写的代码行数并降低代码的复杂性。 ReSharper 和 Rider 等工具可以帮助您实现代码库的现代化。它们会随时更新以支持 .NET 语言的新功能,并且可以在有机会充分利用这些功能时提供建议。附带的好处是,这些建议有助于使您的团队不断更新自身的 C# 技能。 顶级语句 顶级语句在 C# 9 中引入,使您无需恪守显式定义命名空间或类的旧规即可立即开始编写代码。在引入顶级语句之前,即使是打印单个“Hello World”风格消息的最基础应用,也需要包含三层嵌套中括号才能支持一行实际运行代码。这样就会牵扯到大量不必要的样板代码。这真的有必要吗? usi