Whenever I create a piece of code that I might want to reuse or reference in the future I always copy it into Evernote so that I can quickly search for it later on. I know some people that are adamant about not using Evernote though because they hate the fact it serves as a “catch all” for just about anything text-related, and would rather use apps that serve a more focused purpose.
If you’re a programer Codex is about as focused as it gets to saving off useful text snippets. It’s not without it’s quirks (I’ll get into those later), but I’m sure there are some people who will find this useful regardless.
One of the standout features is the syntax highlighting, which is based on what you name the library since there is no file extension to go by or anything. The supported names include:
- C / C++
- Cocoa / Objective-C
- Delphi / Pascal
- Unix Shell Script
- DOS Batch
There are also some keyboard shortcuts you can use to make navigating around the app a bit easier:
- Ctrl-H: Place focus on the language list (categories)
- Ctrl-L: Add a new language
- Ctrl-N: Create a new snippet
- Ctrl-F: Search the current database
- Ctrl-+: Zoom in on the current text
- Ctrl–: Zoom out on the current text (minimum font size is 10)
- Del: Delete a snippet or category
The two oddities I want to note about Codex could be a deal killer for some of you. First, you can’t rename your code snippets without creating a new one. I’m not quite sure why that’s not a feature, but you could always edit the JSON file directly that is used to save your notes. Still, that is pretty inconvenient. The second thing is that the search doesn’t go through the text that is in the body of the snippet… it only searches the names you give them. So there is definitely some room for improvement here as well.
Codex Homepage (Windows only; Freeware)