ReSharper Adds Support For C#7
ReSharper Adds Support For C#7
Written by Kay Ewbank   
Monday, 19 December 2016

The latest release of ReSharper has added support for  Visual Studio 2017 RC, C# 7 and VB.NET 15.

ReSharper is a plug in for Visual Studio that code navigation and editing features. The ReSharper product comes in two versions, one for  C# , VB.NET, XAML and so on and another specific to C++.

The new release, ReSharper 2016.3, adds initial support for Visual Studio 2017 RC, C# 7 and VB.NET 15. It also lets you run and debug .NET Core unit tests. You can still use ReSharper Ultimate 2016.3 with Visual Studio 2010, 2012, 2013, and 2015.

The new release adds three new actions to the code generation actions list for C# and VB.NET. You now get Relational members that can be used to automatically overload relational operators (>, <, , ) and/or implement IComparable and IComparable<T> using selected fields and properties.

There's a new relational comparer that creates a comparer class derived from Comparer<T> using selected fields and properties; and a new dispose pattern action that you can use to generate an implementation of IDisposable with optional nullability checks and destructor for unmanaged members.

Another improvement in the new release is a quick-fix to introduce fields and auto properties from all unused parameters. Earlier versions of ReSharper had a quick-fix that would do the same thing for a single parameter, but this has been extended so that it can be applied to all unused parameters at once.

There's also a new context action on fields of type Lazy<T> to introduce a property to encapsulate fieldname.Value.


net core ut

Unit testing is another area to have been improved. The unit testing features can now be used for xUnit and NUnit-based unit tests in .NET Core and ASP.NET Core 1.0.x projects in Visual Studio 2015, in a similar way to running tests with .NET Framework projects. However, the lightweight solution load and new .NET Core unit testing in Visual Studio 2017 RC aren't supported at the moment, and will only be added in a further update.

Other changes include better support for TypeScript, JavaScript and JSON, as well as more ways to inject languages.



More Information

What's New In ReSharper

Related Articles

ReSharper For C++ 1.0 Released

JetBrain's Project Rider Cross-Platform IDE

JetBrains Launches Subscription Model Toolbox

ReSharper Product Line Splits

JetBrains Updates .NET Development Tools       


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.



Google Opens Doors To Its Colaboratory

Last month Google made another of its in-house data science tools freely available for anyone to use. Colaboratory is a document collaboration tool that has the ability to run code and show its output [ ... ]

What Is The Computational Power Of The Universe?

The universe can be viewed as a huge physical computer that has been running for 13.7 billion . The outcome of its program is the way it is. Does the universe actually have the power it needs, or does [ ... ]

More News




blog comments powered by Disqus

Last Updated ( Monday, 19 December 2016 )

RSS feed of news items only
I Programmer News
Copyright © 2017 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.