Suggest me a snippet manager
TheOnlyBeardedBeast

TheOnlyBeardedBeast @theonlybeardedbeast

About: .NET Core + TypeScript + React + Flutter + UWP Yep, that's me.

Location:
Slovakia
Joined:
Nov 12, 2019

Suggest me a snippet manager

Publish Date: Jul 21 '20
2 6

I am looking for a snippet manager which could sync to a github repository, I googled but didn't find any which could handle that.

Comments 6 total

  • Alex Janke
    Alex JankeJul 21, 2020

    If you're using Vs Code you can create snippets on a project basis.

    File > Preferences > User Snippets and in the dropdown choose "New Snippets file for yourProjectName"
    Snippet dropdown

    This will create a .vscode folder in your project which you can commit to your repo.

    • TheOnlyBeardedBeast
      TheOnlyBeardedBeastJul 21, 2020

      Thank you, I know about this feature, I meant to have something like a knowledge database of different snippets, which can be categoried or tagged, but it could use a git repository as a database to have it sync between multiple pcs

      • Alex Janke
        Alex JankeJul 21, 2020

        Ahh I got you now. This actually sounds like a fun side project.. Do you mean completely editor independent so you can access it whenever on your pc or just within your editor?

        • TheOnlyBeardedBeast
          TheOnlyBeardedBeastJul 21, 2020

          As a completely independent software, yeah I thought the same but I actually have a sideproject for now ☹️ electron with node-git would be a simple choice for it, but I wonder if no one implement something similar, there are a plenty of snippet software I looked into but none of them supported git as a storage.

  • Peyton McGinnis
    Peyton McGinnisJul 21, 2020

    massCode is pretty cool.

Add comment