About
This is the M Cubed Software weblog. To find out more about us head to our about page.
Search
Feed
Archives
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- November 2009
- August 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
Code Collector Pro 1.3 beta 1
Posted on 25/10/2008 at 01:01 AM in
So in a change from the past, I've opted to have a public beta with Code Collector Pro 1.3. This has the benefit of me getting a much wider beta tester pool and users getting the latest and greatest sooner (albeit a bit buggier). So what is new in 1.3? Well first I'm going to talk about what has gone:
No more Tiger supportIf you are using Tiger than CCP 1.2.4 is the last release you'll be able to run until you upgrade to Leopard. After spending months developing Lighthouse Keeper as a Leopard only app I started to appreciate how much code I didn't have to write compared to Tiger. The less code I have to write, the more I can focus on cool stuff and the less bugs there are in general.
No more Code Collector LiteCode Collector Lite is being replaced by a more flexible trial in CCP. Now obviously this will annoy some people, but the fact is that Lite was the unloved brother of CCP. It didn't receive any updates and just caused the code base to be more complicated as I had to remove a lot of stuff.
Now my hope is that 30 snippets and 5 groups will be enough for most users who only want to use Code Collector occasionally. You will gain all the features of pro except for the sharing (which is now disabled in the trial). For those who need more snippets then €20 is honestly not all that much.
Now that you know of the two major potentially negative (but in the long term extremely positive) changes, what is new in CCP 1.3?
Snippet search panelSince it's launch, CCP has been the best way to organise your code snippets on the Mac. And since version 1.2 it has been the best way to share your snippets with the world. Unfortunately the missing part of the trinity has been using your snippet. There have been various ways to get snippets out of CCP and into your code. Dragging snippets from CCP to your documents, selecting a snippet and copying it or using the menu item to search for and copy a snippet to your clipboard. Unfortunately none of these are elegant.
So to solve this problem I've replaced the search menu item with a search panel which is more less buggy, more powerful and provides a seamless workflow. Now you can bring up the search panel using a global hotkey (customisable of course), start typing to search for snippets, press up or down to select the snippet and then hit return to insert it into the front-most app. Your hands never need to leave the keyboard.

One of the biggest support issues with CCP has been users getting confused over how to add languages. To rectify this I've completely redesigned how languages work in CCP. You can now add a language without the need for a TextMate bundle, though you will still need a bundle in order to have syntax colouring.

And to make getting those bundles easier, CCP 1.3 lets you download them from within the application. When choosing a bundle for a language, click on the segmented control to view the repository and then click Install to download it.

One of the biggest requests has been the ability to drag a code file into CCP to add snippets. Well with 1.3 your request has been fulfilled. You can drag code files onto your library to create snippets from them. Even better, CCP will use any bundles you have associated with language to try and guess the language of the snippet based on the file extension.
There are also some other smaller improvements and bug fixes, such as language and licence names updating across the app and the ability set the background colour of the code view. So if you want to try out the latest and greatest version of Code Collector then download it now. (If you haven't already got CCP 1.2 on your system then you'll need to install it first, there's a few bugs that have been pointed out to me between releasing and writing this that cause a launch on a clean machine to fail).
WARNING: As always, this is beta software and so it contains bugs. Always make a backup of your library before trying it out (found at ~/Library/Application Support/Code_Collector).