It's quite helpful that TM's project files are xml (plists, i believe). I recently had a need to update the paths to a whole bunch of resources in a project I'd setup. It was a fairly easy find/replace operation, but I had to perform it in TextEdit because I couldn't get TM to open the file as a text file instead of as a project. I suppose I could have resorted to some form of file renaming shenanigans, but I'm wondering if there is another way. Does anybody know how to do this without resorting to file extension trickery?
-dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Dave Grijalva wrote:
It's quite helpful that TM's project files are xml (plists, i believe). I recently had a need to update the paths to a whole bunch of resources in a project I'd setup. It was a fairly easy find/replace operation, but I had to perform it in TextEdit because I couldn't get TM to open the file as a text file instead of as a project. I suppose I could have resorted to some form of file renaming shenanigans, but I'm wondering if there is another way. Does anybody know how to do this without resorting to file extension trickery?
-dave
If you have installed the "mate" utility (TextMate asked at first launch) then you can use it to edit those files (also other TextMate files like commands ...).
Just open a new terminal window and type "mate " (without the quotes, but note the space) and then drag the file you want to edit into the window and hit return. Now this file gets opened by TextMate no matter what file it is.
Hope this helps, Simon - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229