I need a Visual Studio macro to split one CS file with multiple classes into multiple files with single classes
I believe that this type of functionality is built into JetBrains ReSharper, which I've actively decided not to 开发者_开发技巧use (oh stop with your surprised face and gasping). Nothing against ReSharper, I just like my IDE to be as lightweight as possible.
I've seen a lot of examples going in the opposite direction - taking partial classes and putting them into one file - but nothing to split one multi-class file into multiple single-class files. Obviously, I'd like for said macro to add said files to the project, but I don't mind if that's not possible.
Any help on this would be much appreciated!
精彩评论