Sunday, July 22, 2007

ExecInline VS2005 Addin - Select Code in the Code Window and Execute it...

Secret Geek - Exec Inline AddIn for Visual Studio 2005 -- Get It Now

"...

Next time you start visual studio 2005 the tools menu should contain a new item: 'ExecInline' with a smiley face icon. (if not, check the Addins menu to see that it's loaded)

Select a snippet of your code, press 'ExecInline' -- and KAPOW! The snippet is executed all by itself.

..."

This could come in handy occasionally...

Source for this version not provided (yet), but the source for the previous VS2003 version IS available. Full credit and links are given to the people and projects Leon used as the foundation for this addin so if you're interested in doing something like this, check those out...

1 comment:

Anonymous said...

Or for the l33t hackers:

Push Ctrl+D, I to bring up the "Immediate Window" (Ctrl+Alt+I if you are a Resharper hore)

Finally paste your line and press enter to have it executed.

Bjorn Reppen @ http://www.mashiharu.com