Trying to remember that elusive code snippet

How you code snippets will be displayed

If you are a software developer, there are those times where you need a piece of code that you used 3 weeks ago, but you just can’t remember for the life of you, how you did it. Now you have to switch to another workspace and search through tons of files and lines of code to find that piece of code. This can take a valuable amount of time, not to mention losing your line of thought. That sucks, right? Let’s see how a code snippet manager can help you with this problem.

Why use Snippet Manager

Snippet Manager is an app that is hosted in the cloud which can be accessible anywhere and anytime. Let’s say you wanted to read and process a file in Java. Sometimes Java can be confusing trying to to remember which classes to instantiate, how to use buffering if the file is big etc. Well, you would then google the solution, and you will find someone say on stackoverflow.com giving a code snippet on how to read a file in Java. You would then copy the snippet into your IDE, compile and test. If it works, then would logon to Snippet Manager and create and copy your code snippet there. Well, if it doesn’t work, you would just Google another solution, or tweak the current one till it work, right?

You only have to google a solution once and you paste the snippet on Snippet Manager and that’s it. Next time you need it, you simply logon to the snippet manager and copy if from there. What’s nice about this is that, the snippets can be categorized under labels e.g. Java, Javascript, Linux, SQL etc. So, if you cannot remember what you saved the snippet as, you can narrow down your search by using the labels.

How else can Snippet Manager help you?

Another nifty feature is the integration to Bitbucket and Github. This means that when you create your snippet on SnippetManager.io it is also created on Bitbucket or Github. This serves as a backup of you snippets for extra piece of mind. Also, if you already have existing snippets with any of these platforms, you Snippet Manager will import them automatically for you.

Snippet Manager is still in beta phase so please help by reporting any bugs you may experience. To try it out click here.

If you have any questions or suggestions, please drop me an email at sabelo@snippetmanager.io.

Posted on: May 30, 2018, by :

2 thoughts on “Trying to remember that elusive code snippet

Leave a Reply

Your email address will not be published. Required fields are marked *