On Apr 24, 2008, at 4:52 PM, Jesper Rønn-Jensen wrote:
hi.
In my project drawer, i can click certain files and they open in the textmate editor window: It's a Rails project, model files and other .rb files are OK
but when I click on the files ending on .erb, nothing happens. For instance a file in /app/views/reports/index.html.erb
It doesn't open. The only workaround i can figure out is to use command+T.
Did i unintentionally touch a switch? Am I overlooking something obvious?
I'm absolutely new to Textmate (bought my mac roughly a week ago) so please point me to an obvious answer/link if possible.
/Jesper
PS. my version 1.5.7 (1464)
I'm not sure, but I think TextMate honors whatever Finder has set for the default application. I tried opening up a jpg file in textmate and it opened it using preview.
Check under 'Show Info' on a ERB file.