Rider 2021.1 Reaches Beta!
Good news, everyone!
Today we released Rider 2021.1 Beta. This means that we are on the homestretch of the major release. This build is packed with all the features that will soon be available with the official 2021.1 release. Let’s take a look at what’s coming.
- Adding Docker support to a project in Rider is now easier – select “Docker Support” on the “new project” dialog or use Add | Docker Support, which can be found in the context menu for an existing project in the Solution Explorer tool window.
- Out of the box, Rider can now run Dockerfiles generated by Visual Studio.
- 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.
- You can call the Rename refactoring for named tuples.
- For C# 10.0 support, we’ve taken some first steps and taught Rider to work with the "Constant interpolation strings" feature.
- We’ve added a scaffolding mechanism for ASP.NET Core projects. Rider supports scaffolding Areas, Controllers, Razor Pages, Views, and Identity. This support includes generating boilerplate source code that allows full CRUD operations to use Entity Framework. Learn more about it in this blog post.
- We’ve introduced support for route templates. Rider now provides code completion, structural navigation, inspections, and quick-fixes for them. Learn more about them in this blog post.
- The option to delete existing files in a folder before publishing is now available.
- MDN documentation is now bundled with Rider.
- We’ve added a new built-in browser preview that allows you to preview HTML files quickly.
- Now you can attach to a .NET process right from the Welcome screen!
- Debugger hints in the editor not only show you what’s going on, but also allow you to interact with the debugger process through debugger hints.
- We’ve added an option to show raw data for an object if its representation has been changed with a DebuggerBrowsable attribute.
- Rider can show you where Unity is using your code inside animation assets, showing usages of properties and methods as animation callbacks.
- Code completion and validation are now available for Unity’s animation state values.
- The new release adds menu items that show all the methods called in the hot path back up to an Update method, or that trace the outgoing calls to finally reach a known expensive Unity API.
- You can debug SerializedProperty instances.
- Rider has extended its Unity-based unit testing support to include code coverage for play mode tests.
- Our “Godot Support for Rider” plugin now supports running NUnit unit tests directly in the game process to ensure everything works as expected.
- The Pull Requests (PR) view now features a drop-down list with all the available repositories for the current project.
- PR creation is now straightforward – just click the “+” icon or go to Git | GitHub | Create Pull Request.
- Version 2021.1 supports PR templates.
- Rider now has a Git commit template, which you can use to create custom commit messages to suit your needs.
- In v2021.1, we added the Save to Shelf action that copies your changes to the Shelf while keeping them in the local changes.
- Rider now saves the Solution Explorer’s state, including opened nodes, when the IDE is closed and later re-opened.
- We’ve improved our XAML Preview tool. Learn more about that in the blog post.
- When there are several vertically-split editor tabs open, you can now double-click on each one to maximize the editor window for it.
- We’ve reworked the folder selection dialogs on Windows. Now it will only show you folders that you are able to select.
- Toolbox manager for the Windows Forms designer has been completely redesigned.
- Syntax highlighting has come to the Quick Documentation window, where it will provide the same highlighting you see in the code editor.
- In v2021.1, you can fine-tune the weight of your main and bold font styles in Preferences / Settings | Editor | Fonts.
- On Windows, you can now access your recent projects by right-clicking the Rider icon on the taskbar or on the Start menu.
- We’ve added a couple of new formatting settings.
- We’ve added a new Reindent only action for Format Selection.
- We’ve improved how Rider reads settings for naming rules from EditorConfig and how it writes the user-defined naming rules to EditorConfig.
We’ve added the new Inline Variable refactoring for local
- Rider can now calculate an allowed language level based on the project and compiler used in a build and suggest improvements to make your F# code more modern and up-to-date.
To Interpolated String, a new analyzer and quick-fix, aims to convert a
printf-style format string to an F# 5 interpolated string.
- We’ve implemented NuGet Smart Restore on build.
- Rider now supports building in parallel on recent versions of Mono.
- When performing the timeline profiling of .NET Core applications on Windows, dotTrace collects information about incoming HTTP requests.
We would truly appreciate your feedback on this build, as there is still time to make this release even better. Feel free to leave a message in the comments section below this blog post, and let us know about any issues you encounter in the Rider bug tracker.
Subscribe to Blog updates
Thanks, we've got you!
A Second Set of Bug Fixes: ReSharper 2023.2.2 and Rider 2023.2.2 Are Here!
ReSharper and Rider have just received their second set of bug-fix updates for the 2023.2 release! Let’s take a look at the most important issues that have been resolved in this update. ReSharper For the full list of resolved issues, please refer to our issue tracker. …
ReSharper 2023.3 Early Access Program Begins!
Hello everyone, The Early Access Program for ReSharper 2023.3 has started! Before you download the first EAP build, let’s take a look at what is in store for you. Working with aliases With this first EAP build, we are introducing support for C# 12’s ability for alias directives to refer…
Rider Kicks Off the Early Access Program for the 2023.3 Release!
The Early Access Program for Rider 2023.3 has just begun with the release of the Rider 2023.3 EAP 1 build. There are several ways to get your hands on it: Download and install them from our website. Use the Toolbox App. Install this snap package from the SnapCraft store if you’re using a c…
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…