Tag Archives: C#

More formatting updates in ReSharper and Rider 2018.1.2

Our latest release of ReSharper 2018.1.2 includes improvements in formatting that we have not yet showcased in previous blog posts. We have already written a series about maintaining consistent code style with formatting inspections earlier. Now let’s look at some of the … Continue reading

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

Consistent code bases using Rider code analysis

In our series about Rider‘s code analysis, we’ve seen what it is and how it works, and looked at various examples of inspections that can spot warnings and errors in our codebase. Rider helps us learn common practices and language … Continue reading

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

Learning best practices and language features using Rider code inspections

In the previous posts, we have seen how Rider‘s code analysis works and looked at how we can do things like spotting warnings and errors even before compiling and running our application. Rider helps us with such things by continuously … Continue reading

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

Using Rider to spot errors before our application runs

In the previous two posts, we have seen how Rider‘s code analysis works: it continuously validates our code, analyzing it with over 2400 inspections coming from ReSharper and from IntelliJ-based IDEs. In this post, we’ll look at how we can … Continue reading

Posted in How-To's | Tagged , , , , , | 1 Comment

Solution-wide analysis in Rider

In a previous post, we looked at the basics of Rider‘s code analysis. We’ve seen that Rider continuously runs over 2400 inspections and validations on our code, informing us about potential issues and improvements while we are writing it. Code … Continue reading

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

Introduction to code analysis in Rider

One of the strengths of Rider is code analysis. Rider comes with over 2400 code inspections that analyze our code at design time, allowing us to instantly see any errors, problems or potential improvements – whether in the current file … Continue reading

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

Readonly structs, ref readonly and conditional ref expressions – C# 7.2 in Rider and ReSharper

Today, we continue our blog series about C# 7.2 language support in ReSharper and Rider. In this series: Leading numeric separators, ref structs and in parameters Readonly structs, ref readonly and conditional ref expressions Last time we indicated that there is … Continue reading

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

Leading digit separators, ref structs and in parameters – C# 7.2 in Rider and ReSharper

Time for another blog series! This time we will focus on the new C# 7.2 language features for which we’ve added support in ReSharper 2018.1 and Rider 2018.1. We will see how they help to improve our code quality and … Continue reading

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

Better null checks, string formatting and path completion with JetBrains Annotations

In the previous blog post of our series around using JetBrains Annotations to improve Rider (and ReSharper’s) code analysis, code completion and navigation, we looked at some background: what are these annotations? And how do we add them to our source … Continue reading

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

What are JetBrains Annotations – and how to get them?

In our previous blog post, we looked at an example of using JetBrains Annotations. We saw they are an easy way to improve Rider (and ReSharper’s) code analysis, code completion and navigation by adding some simple hints in our code, … Continue reading

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