10 Free Applications for Managing Code Snippets

Why reinvent the wheel? And by extension, why keep re-typing or copy/pasting commonly-used pieces of code over and over again? Copying and pasting pieces of code into text files and the like is disorganized and wastes your precious time. Instead, you can use code snippets to quickly call code you repeatedly use. There are applications that let you save, organize, and use your code snippets – for practically all of the major programming languages. And this article features 10 free desktop applications for managing your code snippets.

These applications will make your development life much easier. So peruse through the list, see which one(s) would fit your style best, give them a spin, and enjoy your new super-powered effective developing life.

jCodeCollector


jCodeCollector is a free cross-platform application that helps you manage your code snippets. It is written in Java.

Homepage/Download: jCodeCollector →
Platform: Windows, Mac OS X, Linux
Features:
• More than 25 languages supported
• Store, tag and comment your snippets
• Quickly find the code you need via search

SnippShot


SnippShot is a free online code snippet collector tool with a clean and simple interface. The snippets are stored online and since it is web-based, you can access them from any computer, platform and browser without the need to install software. Also, because it’s web-based, SnippShot is cross-platform, so you can access your snippets on any modern browser on any modern OS.

Homepage/Download: SnippShot →
Platform: Web (cross-platform)
Features:
• Bookmarklet for handy usage
• No account required – just use your Google account
• Loads fast due to not using any images
• Works fast due to loading dynamically through AJAX and JSON/XHTML calls

Snippet Manager

Snippet Manager is a free utility for managing your code snippets in a variety of languages: VB, C++, C#, Java, SQL, ASP, PHP, HTML, even COBOL, Assembler and Fortran. You can also use Snippet Manager to manage plain ASCII text data. With the developer-focused search tool, you can find the code you need by using regular expressions or simple search criteria: language, category, dependencies, keywords or the actual code that you are looking for. You can also publish your snippets online for your personal or company use, and password-protect them so only those you want can access them.

Homepage/Download: Snippet Manager →
Platform: Windows
Features:
• Lightweight; no setup needed
• 37 languages are supported
• Search tool for developers
• Publish your snippets on the Internet and optionally password-protect your code

Snippely


Snippely is a free basic text and code organizational tool. By using it you can save, organize and retrieve your snippets in one convenient location. Snippely is built on the Adobe AIR platform, so after installing the cross-platform AIR you can use it on all modern operating systems.

Homepage/Download: Snippely →
Platform: Adobe AIR (cross-platform)
Features:
• Snips will be syntax highlighted according to the language selected
• Snips are sortable so you can organize your snippet however you want
• No saving needed – everything is saved to a local database as you work

Code Bank


Code Bank is a free code snippet manager with support for a local database as well as a shared database. With the serverside application you can share a code snippet library between multiple users. It has syntax highlighting for many language and a simple revision history with a compare viewer for seeing side-by-side changes between two revisions. Code Bank is built on the Adobe AIR platform, so after installing the cross-platform AIR you can use it on all modern operating systems.

Homepage/Download: Code Bank →
Platform: Adobe AIR (cross-platform)
Features:
• Syntax highlighting for multiple languages including C++, ActionScript, Flex, HTML, SQL, and more
• Simple revision history with a compare viewer so you can see the changes side-by-side between two revisions

CodeDogg


CodeDogg is a free, simple, fast program which stores your code snippets so you can use them anywhere. With CodeDogg, you can synchronize snippets with all of your computers and devices, so you always have the latest versions of your snippets handy. You simply create a free account at CodeDogg.com, install the cross-platform application, and your snippets are synchronized with the CodeDogg servers (think Dropbox for code snippets).

Homepage/Download: CodeDogg →
Platform: Windows, Mac OS X, Linux
Features:
• Groups to keep your snippets in order
• Transfer your snippets over to CodeDogg’s server so you can use them anywhere
• Can run on a USB flash drive

The Snippet Manager


The Snippet Manager, not to be confused with the other Snippet Manager above, is a free simple-yet-feature-rich application for managing snippets. In addition to storing snippets locally, you can optionally store your snippets online to access them from anywhere. You can also search for and use snippets that are in the public repository, which has snippets shared by users worldwide.

Homepage/Download:The Snippet Manager →
Platform: Windows
Features:
• Syntax highlighting – an implementation of Scintilla
• Tabbed editing and dock-able workspaces
• Cloud storage – access, manage and edit your snippets from anywhere if you register for a free account

Snippet Monkey


Snippet Monkey saves you countless hours by allowing you to create shortcuts for your snippets as well as phrases you frequently type. Create new snippets from the clipboard or via the easy-to-use snippet editor. As mentioned, besides code snippets Snippet Monkey supports: plain text, images, date and time (your choice of format), nested snippets, and cursor location commands.

Snippet Monkey isn’t 100% free but rather shareware – should you choose to pay it’s only $12 though.

Homepage/Download: Snippet Monkey →
Platform: Mac OS X
Features:
• Snippets can contain any combination of: text, images, date and time in a format of your choice, nested snippets, cursor location commands
• Only Typing accelerator with support for Sniplets
• Supports disabling on a per application basis
• Easily create a snippet from the contents of the clipboard

mySnippets


mySnippets is a a clean and simple application that makes your code snippets—as well as clippings and files—available at your fingertips. You just do a single click or press a single keystroke and you have your snippet. You can group and color-code your snippets however you want, you can quickly search and access recently-used snippets, and you can print and export your snippets. The interface is very simple and Mac-like, and it has OS X features like Quick Look, global hotkeys, drag-and-drop, and an iTunes-style search.

mySnippets isn’t 100% free but rather shareware – should you choose to pay it’s only $10 though.

Homepage/Download: mySnippets →
Platform: Mac OS X
Features:
• Intuitive interface: drag-and-drop, Quick Look, iTunes-style search, auto-save
• You can group and color your snippets whenever you want
OpenMeta support

Code Collector Pro

Code Collector Pro lets you easily organize, use and share code snippets using a clean Mac-like interface. You can store snippets of code and retrieve them with a few keystrokes. The coloring engine automatically colors your code snippets for faster viewing, tagging support lets you more easily search for the snippets you need, and importing lets you bring in your code from Coda, Snippet, Snippets, and TextExpander.

Code Collector Pro isn’t 100% free, but you can download a free trial, with the robust and clean-looking application itself costing €20. (Alright alright, so this list isn’t all completely-free applications.)

Homepage/Download: Code Collector Pro →
Platform: Mac OS X
Features:
• Insert snippets into your favorite editor with just a few keystrokes
• Drag and drop snippets to anywhere on your Mac
• Groups and smart groups for collecting snippets
• Fully customizable syntax coloring
• Tag snippets for easier searching
• Add description and source information for snippets
• Create new snippets from selected text in any app
• Drag files to your library to add them as snippets

What Applications Do You Use?

Your turn: what desktop applications do you use for managing your code snippets? Which applications from this list? Feel free to share your favorites in the comments section below.

Author: (586 Posts)

Paul Andrew is the editor and founder of Speckyboy Design Magazine.

Comments