ReSharper Ninja tricks - Generate code from usage

Create class from usage

Following test-driven development I often define my unwritten classes by first using it in a unit test. I then use Create class and Create method or property to generate the code from usage. As the class gets created in the same file as the unit test I use Move to folder to put the class in the production code assembly. Namespaces and using statements are fixed automatically. [More]

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.