Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

This question already has an answer here:

I do a lot of web development and there are many code snippets that come up again and again so I dive back into the most recent project where I used it which isn't that efficient.

How do you store all your useful and oft used code pieces? Are there any products meant for this?

share|improve this question

marked as duplicate by gnat, MichaelT, Bryan Oakley, Thomas Owens May 2 '13 at 17:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Language and IDE would be useful to know here. As any tool could only interface specifically with that environment. –  RhysW May 2 '13 at 9:11

1 Answer 1

GitHub has a pretty useful tool for saving code snippets https://gist.github.com/

It stores your snippets as git repositories that you can keep private, or use to share snippets with other people.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.