Version v1.2.0 - Release Notes Source Code
The extension C# parsing is implemented with ICSharpCode.NRefactory. The library is really great but the variety of real life scenarios can lead to certain parsing difficulties when it can fail. Please report any problems you discover. You reports would help a lot as providing a work around is usually simple while detecting the problem itself is hard. Installation: Depending on your VS installation specifics you may experience difficulties with the package dependencies (e.g. Microsoft.VisualStudio.Shell*.dll not found). This may happens due to the the fact that the extesnsion is developed to be compatible with very wide range of VS versions and specific VS deployment may not have the required dependencies present. In such cases you can try to install the "full" package from the Source Code link above. This package has all dependencies included. Alternatively you can install VS SDK, which will deploy the all dependencies for you as well.
Moves a class into a separate file.
This useful refactoring routine is usually a part of the other bigger products/extensions.
Unfortunately some of them are no longer available with their original packages. Or having the whole heavy extension package may not be very practical. So I recreated it from scratch.
The functionality includeds extraction of the C# type and placing it in the new source file with the same name as the extracted type. To use the extension just place the caret at the line with the type name declaration and press the shortcut (default Ctrl+Shift+F1). This will move the type into a new file in a single step.
Alternatively you can bring a selection dialog (via context menu) for extracting of multiple types from the same document.
You can also define your own default "usings" for the new cs files by invoking the "Tools"->"Move Type to file - Config" menu command.
If the built-in shortcuts are in conflict with other extensions you may need to reassign them from the Visual Studio options dialog.