For many years my text editor of choice was BBEdit, which still graces my Mac, but gets used less often thanks to other less expensive but highly capable editors, the need to use snippets cross platform, and the advent of iPhone and iPad for mobile use.
One tool that crossed my path recently is called Source, an inexpensive Mac code snippet manager. For any Mac user looking for a simple snippet management tool, this is a good one, and priced right. Groups of code populate the left sidebar, click to view the entire category in the middle pane, click one to view and copy the code snippet.
Considering the less than nominal price tag, Source is a very good code snippet manager that can be used right away, and shows much promise for the future (the developer is working on a Windows version). Source features dozens of editor themes and code syntax highlighting for over 110 programming languages.
Source can sync code snippets between Macs by using cloud storage. Search is almost instant and snippets can be shared to others with a few clicks.
What’s missing from Source?
Even an old codger like me can learn a few tricks and a growing chunk of what I do with code snippets has moved to my iPad, and occasionally to iPhone. There’s no Source app for iPhone or iPad. Yet. To keep code snippets managed and in sync between Macs and iPad and iPhone, I’ve used Textastic the past few years for much of my coding efforts, and all of my code snippets management.
As text editors go, Textastic is good; more than competent, and maybe not anywhere near as feature laden as BBEdit, which has become overkill for part-time coders. But Textastic runs on Mac, iPhone, and iPad. Code snippets and projects are easily synchronized between devices using iCloud or Dropbox. It uses new OS X features, including code completion, Auto Save, and Versions, plus it supports dozens of source code and markup languages, and can import syntax definitions, themes and templates from the popular TextMate editor.
I think of Textastic as code-on-the-code. The app doesn’t cost much, doesn’t come with built-in FTP (I’ve used YummyFTP and Transmit for many, many years; and Transmit on iOS is quite good), but it’s difficult for text editors that have been around awhile to match the flexibility. While it’s a Mac and iOS App Store app, the developer has a try-before-you-buy Mac version. Affordable, flexible, and high recommended.