5

ReSharper 2023.1 EAP 5 Is Out Now!

 1 year ago
source link: https://blog.jetbrains.com/dotnet/2023/02/17/resharper-2023-1-eap-5/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

.NET Tools News Releases ReSharper Platform

ReSharper 2023.1 EAP 5 Is Out Now!

Sasha Ivanova
February 17, 2023

You can download the latest ReSharper 2023.1 Early Access Program build from our website. 

Let’s take a look at what’s inside!

RS_231_EAP_Blog_Featured_image_1280x600_ReSharper-2x.png

Code cleanup

Reformat inactive preprocessor branches in file is a new task type inside the Built in: Reformat code profile we’re introducing in ReSharper 2023.1. The task enables you to reformat inactive preprocessor branches. It can only be applied to the entire file at once and works only with C# sources. 

Resharper_Code-Cleanup.png

To add the new task to your code cleanup session you must create a custom code cleanup profile. For that go to ReSharper | Edit | Cleanup code, click on Duplicate to create a copy of one of the existing profiles, and select the new task inside the Reformat code section.

This task cannot reformat code hidden behind a preprocessor directive #if that is always false. The two most obvious examples of this limitation are #if false ... #endif and #define A #if !A ... #endif constructs.

Rename refactoring 

We have improved the way ReSharper handles renaming files in a project. From this build on, whenever you rename a file inside your solution, a dialog will appear with the option to rename all relevant symbols (classes, interfaces, etc.) to match the change. This works not only for .cs files, but for a whole range of other file types, including .razor and .blazor.

Starting from this build, the Find usages command now works on C++20 module names.

dotTools

dotTrace

The standalone version of the dotTrace performance profiler is now available on Linux and macOS for both x64 and ARM64 processors. Download the build for your OS by clicking on the appropriate link: 

44DKvUYI3EMlhKdlTs_WxuQQCQLk4wi0_hlpO1Zudo4ACEM0gcuGyL3-IHRX0FZ6bX0_oVDsxG8Jnj8Et_Qp2nyJgNnHzZfWS_MPiahXDCNFkPlMKiZyrjhZoEUTLFbHZkgwTQV3TpRjt4ZtC8pO2Q

dotCover

We’ve introduced a Trigger Continuous Testing action, as well as the option to set up a shortcut for it. The action makes it possible to trigger continuous testing directly, whereas previously you could only do this indirectly by building or saving your project.

You can set up the shortcut by going to Tools | Options | Environment | Keyboard. To enable the continuous testing trigger via a shortcut, select this as an option in ReSharper | Options | dotCover | Continuous Testing

That’s it for now!

For the full list of improvements and fixes that made it into the latest EAP build, please check out our issue tracker. As always, we’d love to hear your opinions and suggestions in the comments below.  

Subscribe to Blog updates

By submitting this form, I agree to the JetBrains Privacy Policy

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK