I do a lot of work with IntelliJ these days and wanted to see if my favourite toolchain (Visual Studio + Resharper) provide a better experience for extracting classes. Here are my learnings.
I have a simple class with too many responsibilities. Easily to see via the "And" in the method name (Nitriq had this as a code rule since the beginning http://www.nitriq.com/).
Lets say I want to split up this class in a "Mapper" and a "XmlGenerator".
How would you do this?
How would you do this in an automated way?
Figure: The smelly class "XmlGenerator" with too many responsibilities
C# and Resharper come first.