Tag Archives: generation and templates

Generate deconstructors with ReSharper

With C# 7 came language support for deconstructing tuples and other types. ReSharper 2017.3 Early Access Program adds better support for deconstructors, including new inspections and generators. But before diving into how ReSharper can help with writing deconstructors, let’s cover what … Continue reading

Posted in How-To's | Tagged , , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Pattern matching with generics

Pattern matching with generics (spec) is another great topic for our blog series about support for C# 7.0 and C# 7.1 in ReSharper (and Rider)! Using pattern matching, we can combine a type check with a cast, removing some language ceremony. Let’s see how ReSharper can … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Async main

Many developers have been wishing for an async main method to be able to use async/await constructs in console-based applications. The good news is that C# 7.1 introduces support for this (spec)! ReSharper (and Rider) do so, too. Let’s continue our blog series about ReSharper support for C# 7.0 … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Expression-bodied everything

Today, we continue our blog series on ReSharper support for C# 7.0 and C# 7.1. The previous post touched on throw expressions (spec) and ReSharper’s inspections, quick-fixes and context actions around these language features. Today, let’s talk about expression-bodied methods, properties, local functions, … Continue reading

Posted in How-To's | Tagged , , , , , , , | 2 Comments

C# 7.0 and 7.1 support in ReSharper – Throw expressions

Let’s continue our blog series about ReSharper support for C# 7.0 and C# 7.1! We’ve already blogged about how ReSharper (and Rider) handle out variables, today we’ll look at throw expressions (spec) that are available in C# 7.0. Throw expressions allow us to throw exceptions from … Continue reading

Posted in How-To's | Tagged , , , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Out variables

Back in February, we wrote a State of the union about ReSharper C# 7 support, based on ReSharper 2016.3. Since then, a number of improvements have been made, both to C# as well as ReSharper (and Rider, which gets language support updates … Continue reading

Posted in How-To's | Tagged , , , , , , | 3 Comments

Multi-line import completion, code generation improvements in Rider 2017.2

In Rider 2017.2 EAP, we did quite some work on code completion. For example, for CSS, JavaScript and TypeScript as well as .config, .csproj and XML files, more and better suggestions are now available. Multi-line code completion has been improved, … Continue reading

Posted in How-To's | Tagged , , , | 3 Comments

Null checking improvements in ReSharper 2017.2

Null checking is a very common task that ReSharper has always been helping to automate. Since the very first versions, ReSharper users had a whole bunch of context actions and quick-fixes at their disposal, such as Check parameter for null, Assert expression … Continue reading

Posted in How-To's | Tagged , , , , , , | 7 Comments

Getting started with Rider and Unity

We recently released Rider, a new IDE for C# and .NET developers. It runs cross platform, on Windows, Mac and Linux, and comes with built in support for Unity – code completion for event functions, inspections and quick-fixes for Unity code, … Continue reading

Posted in How-To's | Tagged , , , , , | 18 Comments

What’s new in the latest ReSharper 2017.2 EAP builds?

It’s been four weeks and 7 EAP builds since we blogged about the ReSharper Ultimate 2017.2 EAP (Early Access Program) — time to have a thorough look at what’s new since! Improved C# 7.1 support in ReSharper ReSharper – Navigation ReSharper – Inspections … Continue reading

Posted in How-To's | Tagged , , , , , , , , , , , , , , | 15 Comments