How to place code snippets within Visual Studio 2010 Toolbox window?
Asked Answered
F

1

11

I've really enjoyed Anders Hejlsberg presentation at BUILD 2011 and it's not the first time that I notice someone having a collection of code snippets available within Visual Studio's Toolbox window, so given that all the searches I've performed so far pointed me to how to deal with IntelliSense snippets, I was wondering if anyone knows how to achieve this?

Funiculate answered 27/9, 2011 at 18:24 Comment(1)
Just select the text and drag it to the toolbox.Cavalier
F
27

You just need to copy the code to the toolbox. A simple selection of the code, and a drag and drop to the toolbox just make it available. It will not be deleted until you delete it (at least that never happens to me by itself)..

This is what you need?

Foucault answered 27/9, 2011 at 18:40 Comment(1)
Wow that was easy and definitely what I'm looking for -- thanks much for the contribution gbianchi!Funiculate

© 2022 - 2024 — McMap. All rights reserved.