5

I am looking for a code snippet manager (or, more generally, a text snippet manager) that stores all of its data locally (i.e. not cloud-based).

It should be possible to organize code snippets by language/framework/technology (i.e. at least one "hard" level of categorization); anything beyond should be well usable for larger collections of code snippets (maybe by further hierarchical grouping, maybe by user-defined tags, ...). Code snippets must not be limited in length. Syntax-highlighting is a plus, but not absolutely necessary.

The application must run on Windows (although Windows/Linux cross-platform capabilities are a bonus), be gratis and open source, and usable with a GUI (i.e. not a purely text-based interface).


I am not looking for a code editor that also includes a code snippet manager. I am looking for a central tool to store snippets for use in other editors and IDEs.

  • If you're doing this "manually" (copy/pasting snippet, assigning tag/category), then Treeline might work for you (from a Q&A on hierarchical data storage). FWIW. – Dɑvïd Dec 29 '17 at 22:37
3

You can try BoostNote, which has organizer of snippets. Maybe it dont have categories, but it has "tags" to mark notes with names of smth. It is free.

2

To me, this sounds like a classic case for a Clibpboard manager. I have been using Ditto for years, and would normally recommend it.

But, given that you want to sort snippets by language, I would recommend something more hierarchical. Take a look at the free PhaseExpress

PhaseExpress is a very full-featured clipboard managing utility. It has a tree-style folder structure for managing all sorts of folders. It came with some preset categories, but you can add and remove any to customize it to your own liking.

This isn’t just a basic clipboard manager, but a text manager and autocompleter. You can use it to store any used phrases that you’d ever want to reuse or that you commonly use.

And it has a lot more features thanj just that quote.

enter image description here

Generally, most Windows programs run well in Linux using Wine, but I wouldn't be too sure when it comes to the clipboard. Please let us know how it works out for you. It could help others to know.

2

I recomend Snippman from Coderlamp

(I’m the author of Snippman) Snippman was created when i needed to store my code notes in an organized way for my new job.

It let’s you create code snippets, rich text notes (with images, links, embedded youtube videos etc) and you can also mix code blocks with text blocks.

Your snippets are organized in folders and you can find them easily by search.

It runs locally and no internet connection is needed.

enter image description here

1

There is SnipAssist at SnipAssist.com that organizes and stores text snippets on a local disk independent of any editor or IDE. The clipboard is used to transfer text into or out of the snip library. Hot keys are not used and the library is portable. Each folder can have a description and the snippet can have a description. Descriptions and content can be searched.

The free version will handle several hundred snippets of any size. There is a premium version for sale with extra features for larger snippet libraries.

  • Please disclose your affiliation with this product, or this answer will have to be deleted. – RockPaperLizard May 27 at 21:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.