CodeBehind! adds four new commands to the Tools menu: Add CodeBehind Add TestBehind adds to selected files a .Test.cs file that is meant to simplify unit testing by keeping unit test classes directly behind their targets. The generated test class is wrapped in #if/#endif compiler directives to prevent compiling unit tests into production code. Add PartialBehind adds to selected files a .Partial.cs file in order to simplify partial classing. Add CodeBehind adds to selected files a separate .Code.cs file, generically named for generic use. Add DebugBehind, like Add CodeBehind, adds to selected files a separate .Code.cs file, generically named for generic use, but also wraps the generated content in #if DEBUG/else compiler directives. Preferred use is to bind keyboard shortcuts to these commands, rather than dealing with the menu system. |