This project is read-only.
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:

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:

Code Scrap Window 2.png

Last edited Aug 18, 2010 at 9:35 AM by vsandrewk, version 3

Comments

No comments yet.