DEV Community

Robin Kretzschmar
Robin Kretzschmar

Posted on

How do you manage your code snippets?

Which tools do you use to manage your snippets and where do you store them?

Or do you use snippets at all?

Top comments (5)

Collapse
 
chiangs profile image
Stephen Chiang

For me, if it's framework specific, I have a repo that is a component / snippet library.

If it's framework agnostic, I keep it in Notion.so so that it's searchable using the name and tags such as css & setup, etc.

Collapse
 
darksmile92 profile image
Robin Kretzschmar

I have a repo for now just like you, but I like the idea of searching it in Notion via tags. Will check if this works for me.
Thanks for you feedback :)

Collapse
 
linuxguist profile image
Nathan S.R.

Hi, I had to write a new & easy web-based application myself, to satisfy various needs of my large team ( documenting their various code snippets ) and make it accessible throughout the local area network, for ease of use. This application / system is now released as an Free & Open Source Project here:
sourceforge.net/projects/easy-team...

Hope this helps out all teams looking for an easy way to document everything.

Collapse
 
bugmagnet profile image
Bruce Axtens

I flip flop between Zim and an old (.Net 3.5) tool called SnippetManager. Are you suggesting something better?

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Zim looks interesting πŸ€”
I have a repo for now where I just put snippets in subfolders.
Yesterday evening I found Lepton and it looks like it has a nice UI, is cross-OS compatible (Win/macOS/Linux) and has all the features I would expect like tagging, searching, descriptions and categories by language.

It seems like it saves them to github gists.

Will check this one out today :)