Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Code Scrap Window
Code Scrap Window

Code Scrap Window

Andrew Kasdf

|
2,226 installs
| (0) | Free
Adds a window for writing and executing scraps of code within Visual Studio
Download

Adds a window for writing and executing scraps of C# code within Visual Studio.

Type C# code in the left pane of the window.  Use System.Diagnostics.Debug.WriteLine("") to print output to the right pane.  Press the Execute button or Ctrl + Enter to run your code scrap.  The result should look something like this:



Use the @assembly keyword to add references to DLLs and the @import keyword to add using directives, as in the following example:

http://vscodescrapwindow.codeplex.com/

*Project Description*

A Visual Studio extension that adds a window for writing and executing scraps of C# code within Visual Studio. Requires Visual Studio 2010 Professional, Premium or Ultimate.

*Installation*

Download and run CodeScrapWindow.vsix to install. Restart any active instances of Visual Studio and select Code Scrap from the View -> Other Windows menu.

*Instructions*

Type C# code in the left pane of the window.  Use System.Diagnostics.Debug.WriteLine("") to print output to the right pane.  Press the Execute button or Ctrl + Enter to run your code scrap.  The result should look something like this:

[image:Code Scrap Window.png]

Use the @assembly keyword to add references to DLLs and the @import keyword to add using directives, as in the following example:

[image:Code Scrap Window 2.png]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft