For github users, yes. I am not one, most of the time.
For github users, yes. I am not one, most of the time.
Think about how you write code. Is it all new, or are there functions / API calls / whatever that you might re-use from time to time?
If that’s possible, think about how you go find that code now. Wouldn’t it be cool if you could type a short bit like, “funcA” and boom! your IDE filled in the whole function? Or, worst case, you flip over to another tool, find the snippet you want, copy and paste it into your work.
That’s what I am thinking about, at least. I’m just not sure how I want to get there yet.
I work in VSC most of the time too, so using its built-in user Snippets feature seems to make the most sense. How do you get it to sync across computers? (I can go look into that if it’s a native feature)
That’s where I am now. I keep seeing snippets tools and so I asked here. Now that you’ve seen these replies, what do you think?
I assume the answer is very specific to the coding you do & your workflow. There’s no single right answer.
Hmmm, I am using Logseq for that kind of note rn, but don’t really like the way it handles code. I assume that’s a markdown problem, not a Logseq one, but I should look again.
Thanks. I am thinking about whether a self-hosted service is overkill for this, for my purposes. I kept my question broad in order to find out if most people just keep their snippets on their own PC or what.
I will check this out and I’m also looking at Snibox.
SNIPPETS code is tested with PC compilers from Microsoft, Borland, Watcom, and Symantec/Zortech, unless otherwise noted
Borland! There’s a name I haven’t heard in a long time…
I threw together a quick scratch project and ran it through this tool, just to see what it does. I love that it has code smells and also perfumes (things you did well in the scratch file). Have fun!
Time to fire up MAME again. Ok.
Yeah, this is what I am looking to avoid.