DEV Community

loading...

How do you manage your code snippets?

darksmile92 profile image Robin Kretzschmar ・1 min read

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

Or do you use snippets at all?

Discussion (4)

pic
Editor guide
Collapse
chiangs profile image
Stephen E. 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 Author

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
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 Author

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 :)