views:

119

answers:

4

I want a code snippet editor for VS2008.

I'd like to just hit a hot key, bring up an editor, type in my snippet, run to my break point and step through.

I don't want to have to create a project, create an xml file, or even have to save my file if I don't want to.

I've looked through What plugin would you really like to have for Visual Studio 2005/2008 already, but didn't see anything.

Anybody know of an plugin that will allow me to do this? Thanks

A: 

Check out Snipper.

luvieere
A: 

I don't know of any VS add-in for that. I do know why you want this. Sometimes I just want to execute certain logic statements and don't want the hassle of project creation.

My improvised solution is still, have a console project. Place the link to the project on my taskbar's quick-launch. I run my codes from the main function and resue it over and over again whenever I need it. The hassle is, I need to delete the codes from the previous one.

The plus point is I get to add reference to non-standard assembly or 3rd party ones.

o.k.w
I just keep creating console apps. It doesn't take me long, but good god man, why they heck do I have to do this when Eclipse had this functionality in 2003?!?!?! ~:-(
John MacIntyre
+1  A: 

Depending on whether you want to edit a throwaway code snippet or a reusable Visual Studio snippet, you might be looking for something like Snippet Compiler...

fogbank
+1  A: 

... or Snippet Designer.

fogbank