Originally posted on 10/9/08 at http://likesalmon.wordpress.com
This is important because it allows me to use textmate as my editor. I freaking love textmate. For instructions of how to do this go here:
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-textmate/
Do what he says, copy and paste the code he gives into the terminal all at once and press enter. Terminal will run the commands one at a time. When it gets to the last command (“osascript -e ‘tell app “TextMate” to reload bundles’”) it will throw the error “0:1: syntax error: A unknown token can’t go here. (-2740)”.
Don’t panic, just press the up arrow to bring up the line “osascript -e ‘tell app “TextMate” to reload bundles” again and then go through and replace the single and double quotes with new single and double quotes. When you cut and paste them from the website it puts curly quotes in, which the terminal can’t read. Voila’!