views:

56

answers:

3

First of all I have been away from SO for a few months, had to take a short break from coding (sometimes I have to disconnect for short periods so I don't go crazy). Point being, forgive me if this question is not appropriate or is a duplicate, I did a search but was not able to really find anything too similar.

So my main question, is there any good programs or methods that YOU use or know of for keeping track and accessing easily a Source Code Library? I would really like to find a nice program or even web based script that wll let me categorize code snippets and source code and easily view them for future reference rather then storing in text files or similar.

I would love to hear what others use if you use anything at all? Please share, thank you!

A: 

I'm not sure this is what your looking for, but have you considered using source control for this?

BitBucket (for Mercurial) and Github (for Git) provide free repositories which allow you can push your source code (snippets or whatever) up to.

Using these services means you get all the advantages or source control, it is backed up on external servers and you can get your code from anywhere with an internet connection.

Both sites have some web tools to view your source files and there are many client tools from command lines to full GUI clients to manage your source.

tarn
A: 

You can use GitHub for storing entire repositories or Github's Gist or friendpaste for snippets. It's great for sharing code with others too. Very popular in the open source community.

Matt Williamson
A: 

Our development team uses Code Barrel. You can organize the snippets by adding tags to them and you can easily search your snippets to find the one you want. It works great.

Code Barrel

Rockie