MacOS – File association for editing on a mac

file associationmacmacostext-editors

I'm quite experienced with how file association works for opening files on Mac OS X.
I recall reading somewhere that OS X keeps not only the information about which apps can open a file, but also which apps can edit a specific file type.
I'm having problems with those applications (Coda, Espresso, Forklift, Flow) that have an “edit with external editor” feature, since issuing this command on HTML files opens them with Dashcode. Dashcode of course is not the current association for opening these files (Safari is), so it's clearly looking for apps that can edit HTML.

Since I'd like to use TextMate as my editor in these cases, how can I set this preference?

Best Answer

  • There is this utility magic-launch that lets you set up rules for what you'd like done with certain files.

  • Related Question