65.9K
CodeProject is changing. Read more.
Home

SnipPit - A Snippet Repository

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.20/5 (5 votes)

May 12, 2008

CPOL

1 min read

viewsIcon

41993

downloadIcon

750

A SQL Server based VS add-in (and separate desktop app) snippet respository.

SnipPit2.jpg

SnipPit3.jpg

Introduction

SnipPit is a Visual Studio (VS) 2008 Add-In (and a desktop application is included too) that allows for storing, retrieving, and searching for code snippets. It allows for keywords, code/language types (C#, VB, C++, etc.; you could even use this for code categories I suppose, if you really wanted to), multiple users, public and private snippets. It also provides a right-click menu within VS, and comes with a desktop program for use in apps other than VS. I wrote it for my personal use, but have seen others requesting snippet functionality like this, so I figured I'd share it.

Using the code

Install the Desktop Version first (binary) to get all the files in the right places. There is a ReadMe .rtf and .doc that are the same. Read one of them! You'll have to install the add-in source, and compile and run it to install it and be able to use it (it's all in the ReadMe).

Points of interest

I think I did at least a half-way decent job to make the code readable, usable, and efficient, but I'm quite sure it could be improved in all of those areas. I hope it is helpful/useful to many.

History

  • v1.0 - First public release.