code analysis and quick-fixes
Meet Rider 2021.3’s New Problems View
One of Rider’s goals is to help you quickly find and navigate to problems in your solution, fixing problems as you type, without having to stop and compile all the time. Rider 2021.3 introduces the Problems View tool window, to give you an easy way to see warnings and errors, for the current file, the whole solution, and also problems with missing tooling and broken environment configuration.
Rider 2021.3 Early Access Program Has Launched!
Get the build right now! Let’s take a look at what we have inside. Problems View Having all potential problems for a solution in one place can be helpful, which is why we are happy to introduce the "Problems View"! The Problems View (the "Problems" tab in Rider UI) is a tool window that aggregates all of the potential issues that exist in a solution, such as project loading errors, failed NuGet restore processes, inspections from the open file, and all SWEA errors. The tool window consists of three tabs: Current file: Here, you can find all of the errors, warning
ReSharper 2021.3 Starts Early Access Program!
The Early Access Program for ReSharper 2021.3 has started! Get the build today! Support for Visual Studio 2022 Preview About a month ago, we published a build with early support for Visual Studio 2022 Preview. According to feedback from our users, ReSharper works faster in the new x64 version of Visual Studio. So far, so good! Finally, we decided to push this support to the 2021.3 release cycle. The first EAP build of v2021.3 has already had the VS2022 Preview support included. There is no need to download and install a separate build to run ReSharper in VS2022 Pre
ReSharper 2021.2: Updates to C# Code Analysis, Nullable Reference Types, and Source Generators and Introducing HttpClient URI Support!
Great news, everyone! ReSharper 2021.2 is now out! Before diving into the feature set, there is an important note. Starting with the 2021.2 release of our .NET productivity tools, including ReSharper, we will require .NET Framework 4.7.2 or newer to be installed on your machine. Learn more here. Now let’s have a look at what's inside. Code Analysis The new Swap via deconstruction quick-fix is available to swap variable values! Nullable Reference Types ReSharper indicates suppressions (!) that are no longer needed and that can be safely removed.
Rider Kicks off Its 2021.2 EAP!
Hello everyone, We’re launching the Rider 2021.2 Early Access Program! We’ve published the first EAP build today, so let’s have a look at what's inside. In case you missed that, starting with the 2021.2 EAP builds of our .NET productivity tools, including Rider (on Windows), we will require .NET Framework 4.7.2 or newer installed on your machine. Learn more here. Code Analysis Do you still use temporary variables to swap variable values? There is a more elegant way! Rider 2021.2 EAP will help you modernize your code with the new Swap via deconstruction quick-fix! There a
ReSharper 2021.2 Starts Its Early Access Program!
Hello everyone, We’ve just started the Early Access Program for the ReSharper 2021.2 release cycle! Let’s look at what the first EAP build has in store. In case you missed that, starting with the 2021.2 EAP builds of our .NET productivity tools, including ReSharper, we will require .NET Framework 4.7.2 or newer installed on your machine. Learn more here. Code Analysis Do you still use temporary variables to swap variable values? There is a more elegant way! ReSharper 2021.2 EAP will help you modernize your code with the new Swap via deconstruction quick-fix! There are tw
ReSharper 2021.1 Beta is available!
Hello, everyone! The 2021.1 release is almost upon us, which means it’s high time to publish the ReSharper 2021.1 Beta build! This is your chance to get a look at all the features that we are going to deliver in the 2021.1 release. Here’s a brief summary of the new features! C# support The Merge into pattern inspection can now be used with many more code patterns. We’ve added more support for C# 9.0 records. We’ve introduced a new inspection, Inline temporary variable. For C# 10.0 support, we’ve taken the first steps and taught Rider to work with the "Constant interpolation s
Catch up with 2020’s .NET community webinars
Ah, December. A great month! It provides us with some downtime, there are a number of holidays, and it's the month where I turn 37. December also brings a chance to look back at the past year, and that's exactly what we wanted to do in this blog post: look back at our 2020 webinars, and look forward to 2021. 🤔 JetBrains Webinars? Each month, we try to bring you at least one session where community speakers cover the topics they are passionate about. This year we have seen deep technical .NET content, open source tools, methodology, and some topics around personal development. Speakers
Create well-formed XML and schema efficiently
Most companies, both large and small still use XML, even if JSON has overtaken it in popularity. However, many are using it, for example to exchange data, or have configuration files that can contain comments (unlike JSON). Whatever your reason for using XML, Rider contains many great XML features that enable you to work with it more efficiently. In this blog post, we’ll look at using Rider to create and maintain perfectly well-formed XML, schemas, and more. Fortunately for us, Rider contains many great XML features that enable you to work with it more efficiently. In this blog post, we’ll loo
Dataflow Analysis of Integral Values
Today we are introducing a new type of dataflow code analysis in ReSharper and Rider. We’ve gathered some statistics (by exploring the IL metadata of a large number of NuGet.org packages with an OSS license) and noticed that int is one of the most commonly used types for local variables. That's why this new analysis tracks the usage of values of the int type in your programs. It tracks the flow of integer values through your programs to detect useless or possibly erroneous pieces of code. It warns you about the following issues: Relational/equality operators that always evaluate to true or f
Improved Analysis and Hints for Nullable Reference Types
If you are already using nullable reference types, you might have noticed that they can help make your code safer. But not automagically... This feature relies heavily on everything called by your code being annotated. Unannotated APIs are a big problem for nullable reference types, as they never produce warnings. Values from such calls show extremely optimistic non-null hints, even though there are no guarantees that these hints are correct. Here's a compiler issue for this problem. For example, if you are using LINQ's FirstOrDefault() method from .NET Core 3.1, the compiler not only allows y
Rider 2020.2: Localization Manager, Debugger Updates, and Major Updates to Unity Support
Rider 2020.2 is now available! To mark this great news we’ve put together a full list of the new features and under the hood improvements that are in store for you. Let’s dive in! Download Rider 2020.2 Debugger The new release brings significant changes to the debugger API. They allow us to perform super-lazy value calculations with better interruption and custom value representation. We've also added data breakpoints. Finally, the Pin to Frame feature lets you pin local variables to the frame. Localization Manager We’re proud to introduce a new tool for working with resources. With the Lo