ReSharper 2022.2 Starts the EAP
We’ve added support for one more C# 11 feature –
checked user-defined operators. This helps developers create user-defined operators that operate on types where arithmetic overflow is a valid concept. ReSharper shows all compiler errors and warnings:
- CS9023: User-defined operator ‘+’/’!’/’~’ cannot be declared checked.
- CS9024: An ‘implicit’ user-defined conversion operator cannot be declared checked.
- CS9025: The operator ‘…’ requires a matching non-checked version of the operator to also be defined.
To fully support
checked user-defined operators, ReSharper has a couple more inspections and a context action:
- We’ve updated the “Unchecked/checked context is redundant” inspection to take into account
checkedoperators when they are used inside this context.
- If you have a set of user-defined operators and some of them already have their checked version, ReSharper will help you propagate
checkedoperators to the whole set. A new inspection called “The operator does not have a matching checked operator while other operators do” will notify you regarding which operators don’t have a
checkedoperator yet and suggest a quick-fix to generate the checked versions automatically.
- If you haven’t used
checkedoperators in your codebase yet, but want to start adding them, a new context action called “Create matching checked operator” will come in quite handy. It is available on every user-defined operator and generates a checked version of an operator right from the Alt+Enter menu in one click.
You can now remove temporary files generated by ReSharper while it is working on your code. We’ve added a new page in Options (
ReSharper | Options | Environment | Disk Cleanup) where you can:
- Observe a set of default paths and files ReSharper can remove.
- Add a custom path template for files you want to be removed.
- Specify after how many days ReSharper should consider files outdated for each path template.
- Check how much space is occupied by files matched by each path template.
- Set up automatic cleanup for outdated files which will run periodically (the default value is 1 day).
- Run the cleanup manually for different scopes.
We are looking forward to your feedback on this feature.
ReSharper C++ continues improving Unreal Engine related features. The first EAP build adds the Widgets metadata specifiers to the code completion list and brings support for the Spec tests from the Unreal Engine automation testing framework.
ReadyToRun and NGen assemblies support in Assembly Explorer
- The way ReadyToRun (R2R) and NGen assemblies are presented in the Assembly Explorer has been improved. A small processor symbol icon and
R2Rlabels are now displayed next to each assembly’s name.
- The Metadata tree has the
- The Properties window has the
The call tree in the Timeline Viewer now shows more details for native system calls. This includes kernel calls (ntoskrnl.exe), device driver calls (*.sys), and others.
Subscribe to Blog updates
Thanks, we've got you!
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…
.NET Annotated Monthly | September 2023
Did you know? The original usage of the term “computer” referred to people (mostly women), not machines. It’s possible that one day the word “programmer” could morph into meaning “AI”, and no longer refers to a person. .NET news Visual Studio for Mac Retirement Announcement 🚮…
ReSharper 2023.3 Roadmap
The next Early Access Program (EAP) for ReSharper version 2023.3 is right around the corner, so it’s high time to let you know what we’ll be working on in the coming months. This roadmap is just a preliminary plan and may be adjusted depending on our priorities and resources as well as changes in…
Rider 2023.3 Roadmap
As we gear up for the beginning of the Early Access Program (EAP) for Rider 2023.3, we wanted to take a moment to share our plans for this upcoming release. These plans are subject to change, and some features and improvements may need to be pushed to a future version. Additionally…