Archiving code locally

I’m building up quite a collection of code in the IDE, and I’d like to be able to archive it all locally. Is there a simple way to do this? At the moment, the only thing I can do is open each script, select all, copy, then open a local file, paste and save. Repeat for all files. It’d be nice if there was a ‘save local archive’ option, which allowed you to zip up all the source and save it locally.

We have this (and gist integration) on the wishlist…