QuickSnip |  |
This is very small Win32 native application that run on Windows System Tray and provides quick access to your local code snippet library. I wrote this back in 2000. Nowadays, many free online code snippet services exist so this may not be that useful. If you, however, want to keep all of your snippets local to your machine, then this is a light-weight snippet browser that you might like to use.
Installation
download and extract the content files to somewhere on your computer.
(It comes with QuickSnip.exe and QuickSnip.ini). No setup.exe or registration, just copy files.
Starting QuickSnip
Double-click QuickSnip.exe to run it. An icon of QuickSnip will show up on your Windows System Tray
Create your snippets library
Decide a root directory on your computer where you keep all of your snippets. OPrganize snippets file using directories.
This is an example at C:\Dev\CodeSnips\Concepts.
In each folder, add your snippet files with file extensions such as .txt, .cpp, .h, or whatever programming language extension you want to use. Snippet files can be a single line of code, or a full application that compiles, or just a segment of useful code: there is no restriction.
By default, .txt, .cpp, .c, .h, .cs, .aspx, and .config are supported, but you can change this using Settings dialog (see below)
Configure root directory snippets library
QuickSnip need to be told where your snippet library is. Open Settings dialog window using "Settings" menu item
Then, exit out of QuickSnip and restart QuickSnip. There is "Refresh" button but it is broken
Browse your snippets library
QuickSnip will build a cascaded menus based on the directory structure of your snippet library.
Copying snippets to Windows Clipboard
If the file being selected in QuickSnip has the file extension (ie. .txt, .cpp, .h, etc. You can change this in Settings too), a Preview Window will show up. You can copy the content using the preview window.
That's all.