Home All Groups Group Topic Archive Search About

Keeping Code Snippets?

Author
10 Dec 2006 9:55 PM
Paul Bromley
Does anyone use any application to easily keep and retrieve code snippets? I
would like something that would readily store snippets, classes and
functions etc that I am likely to re-use, or may use in the future.

Paul Bromley

Author
10 Dec 2006 10:22 PM
Herfried K. Wagner [MVP]
"Paul Bromley" <flyfis***@dsl.pipex.com> schrieb:
> Does anyone use any application to easily keep and retrieve code snippets?
> I would like something that would readily store snippets, classes and
> functions etc that I am likely to re-use, or may use in the future.

Visual Basic Snippet Editor
<URL:http://www.gotdotnet.com/workspaces/workspace.aspx?id=a927f4e7-8e7f-45ce-8b72-f3b9384a3eab>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
11 Dec 2006 3:27 AM
RobinS
Herfried gave you the link to the Snippet Editor that one
of the MVP's wrote. I'm assuming you have VS2005. To see
the snippets available, type in ? and then tab, and it will
show you the list. When you're looking at the list, if you
mouseover one, or pick it with the keyboard, it will show
the "shortcut" in the tooltip. You can type in the shortcut
and hit <Tab> and it will insert it in your code.

Robin S.
--------------------------------
Show quoteHide quote
"Paul Bromley" <flyfis***@dsl.pipex.com> wrote in message
news:%23w4rlXKHHHA.4688@TK2MSFTNGP04.phx.gbl...
> Does anyone use any application to easily keep and retrieve code
> snippets? I would like something that would readily store snippets,
> classes and functions etc that I am likely to re-use, or may use in
> the future.
>
> Paul Bromley
>
Author
11 Dec 2006 2:21 PM
Chris Dunaway
> Does anyone use any application to easily keep and retrieve code snippets? I
> would like something that would readily store snippets, classes and
> functions etc that I am likely to re-use, or may use in the future.

In addition to the other responses, from the text editor, you can
highlight a snippet of code and then just drag it to the toolbox.  You
can then drag it into any other program as needed.

Chris