New Refactorings in ReSharper 7

Makes the task of managing complex and unwieldy code a little bit easier.
August 12, 2012
Veröffentlichung mit neuen Funktionen

ReSharper has already made a reputation for itself as a tool for managing complexity, and in ReSharper 7 we are proud to introduce two new refactorings that make the task of managing complex and unwieldy code a little bit easier.

Extract Class
What do you do when a class gets too big? Chances are, you try to break it up into smaller classes. This process is common enough for ReSharper to support it via the aptly named Extract Class refactoring. The idea is simple: decide which members need to be extracted, figure out how to manage usage issues (if any), and ReSharper does all the work.

Here’s an example: a Person class that has lots of address details that are better kept in a separate class. To give the various address properties a separate class, we can fire off the refactoring either from the context menu or, for example, by selecting the relevant properties in the Solution Explorer and using the Refactor This menu.

ReSharper

Steigern Sie Ihre .NET-Produktivität.

Sie haben eine Frage?

Live-Chat mit unseren JetBrains-Lizenzierungs-Spezialisten.