I need a Visual Studio macro to split a single CS file with multiple classes into multiple files with separate classes

I believe that this type of functionality is built into the JetBrains ReSharper , which I actively decided not to use (oh, stop with a surprised face and gasping). Nothing against ReSharper, I just want my IDE to be as light as possible.

I saw many examples going backwards - with partial classes and putting them in one file, but there is nothing to split one multiclass file into several single-class files. Obviously, I would like the specified macro to add the specified files to the project, but I do not mind if this is not possible.

Any help on this would be greatly appreciated!

+3
source share

All Articles