views:

338

answers:

3

I would like a general purpose code snippets library, that I could use to store bits of code for any language, organized in folders. When any developer on the network adds a snippet, it should get transferred to others.

How can I do this simply? Any app that could be used for sharing libraries of text should be okay too.

+3  A: 

That's called "a wiki".

We use a Sharepoint Wiki page for exactly this purpose ... that way code instructions and examples can be included in the same place.

Ron

Ron Savage
We're enslaved to Microsoft where I work - so we're just using the Sharepoint Wiki pages. It has a nice WYSIWYG editor for them. :-)
Ron Savage
+2  A: 

A wiki is definitely the way to go but why stop there? Why not go with an issue tracking system that adds wiki functionality?

I have first hand experience with Trac and Redmine and openly recommend both of them. We've recently switched from Trac to Redmine where I work and I think I like it a little more than Trac, and use the wiki functionality almost everyday.

Update:

If you are looking for something smaller scale, there was a previous discussion here on SO that looks like it has some interesting links.

Arnold Spence
Is there an offline app that can do collaborated snippets?
Jenko
You can set up Trac on an internal web server or even running off your own machine.
kibibu
+1  A: 
Jenko