Tell me more ×
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
Language and IDE would be useful to know here. As any tool could only interface specifically with that environment. – RhysW May 2 at 9:11
add comment (requires an account with 50 reputation)

marked as duplicate by gnat, MichaelT, Bryan Oakley, Thomas Owens May 2 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.

1 Answer

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
add comment (requires an account with 50 reputation)

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