title: A Code Scratchpad Extension in Visual Studio 2010 - How to?
body: <p>Maybe it's somehow freaky, but I'd like to write an extension for Visual Studio 2010, which mimics the behavior of the Command Window in Visual Foxpro. For those of you who don't know about it:</p>
  
  <p>In Foxpro, you could enter code in the command window, which got executed directly. This way, you where able to try things out without messing with your project or "real code". And you had some kind of Intellisense. If you created an object via CREATEOBJECT, you got an Intellisense with all available methods and functions in the next step. Somehow like a Code Scratchpad. This is something I'm missing in VS 2010.</p>
  
  <p>I've seen the EditorToolwindow - Demo from the Visual Studio 2010 SDK, but I'd like to have a Syntax Highlighter and Intellisense, and provide my own logic for dealing with the code in this window, e.g. on-the-fly execution etc. A little bit like LINQPad.</p>
  
  <p>Does anyone have an idea how I could accomplish this?</p>