Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CodeBehind!
CodeBehind!

CodeBehind!

Unlimited Systems

|
1,673 installs
| (4) | Free
CodeBehind! adds a number of new commands to the Tools menu, each supporting a different type of code behind file.
Download

CodeBehind! adds four new commands to the Tools menu:

Add CodeBehind
Add TestBehind
Add PartialBehind

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft