How do you manage your code snippets?
Robin Kretzschmar

Robin Kretzschmar @darksmile92

About: Started coding at the age of 13, now a professional software engineer and Scrum Master, creating and maintaining enterprise solutions. Eat - Sleep - Code - Lift - Repeat 💪🏾

Location:
Mannheim, Germany
Joined:
Nov 14, 2017

How do you manage your code snippets?

Publish Date: Oct 10 '19
8 5

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

Or do you use snippets at all?

Comments 5 total

  • Stephen Chiang
    Stephen ChiangOct 10, 2019

    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.

    • Robin Kretzschmar
      Robin KretzschmarOct 10, 2019

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

  • Bruce Axtens
    Bruce AxtensOct 10, 2019

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

    • Robin Kretzschmar
      Robin KretzschmarOct 10, 2019

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

  • Nathan S.R.
    Nathan S.R.Aug 8, 2023

    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.

Add comment