I just got Snow Leopard* and it’s blown away some obscure tricks I’d left for myself. This is a note to future me, should I need to fix Coda’s annoying preference of ^H instead of backspace in their terminal window.
As nice as Coda’s UI can be, I’d ditch it, if I could just get TextMate to play nicely with remote projects.
*yes, finally; upgrading from Adobe CS2 had to be in the budget first…
I hate untidy code, and always work with invisibles showing. Regardless, sometimes spacecruft slips through. Here’s two ways to fix that:
- custom language bundle that highlights the offending space
- macro using the built-in strip-trailing-spaces command on save
I’ve gone with the first option: I think it’s nicer to keep yourself in the habit of watching your code, rather than relying on the software. Also, as the author notes, it blows away any bookmarking and code folds. If you’re working with large files and hit save at least every five minutes like I do, well… that sucks as much as Coda’s lack of code folding does.