stashsnippets package
Prototype of an Atom package that lets you store code snippets for later use to reduce code duplication and improve programming efficiency. Code snippets can be selected and stored in a database. This idea was based on this Github tutorial to build a clone of Sourcerer, an Atom plugin that gets relevant code snippets from StackOverflow (tutorial here: https://github.com/blog/2231-building-your-first-atom-plugin).
We have extended this idea by implementing a database with MongoDB and adding various functions - as a user works, they can select code snippets to be inserted into the database and retrieve these snippets later; they can also compare selected snippets to existing entries in the database to avoid duplication. If a selected snippet already exists in the database it will not be saved. (There are some bugs but we are working on it)
Work in progress for Hack Cambridge 2017.

Log in or sign up for Devpost to join the conversation.