In textmate, open the bundle editor> Edit Languages
pick Rails: HTML(rails) from the left hand thing
Then change fileTypes = ( 'rhtml' );
to
fileTypes = ( 'rhtml', 'html.erb' );
In textmate, open the bundle editor> Edit Languages
pick Rails: HTML(rails) from the left hand thing
Then change fileTypes = ( 'rhtml' );
to
fileTypes = ( 'rhtml', 'html.erb' );
Thanks Fred.
E-texteditor lacks the user interface that allows me to edit filetypes
in the bundle editor. Could you please post details from the file
"HTML (Rails).plist"
I want to see if it's a little E-texteditor bug or if I just get it
wrong.
(my workaround currently is to interpret all .erb files as
HTML(Rails), which is not particular smart for other formats than HTML)
Scott:
I did solve it (with the workaround to view all .erb files as HTML/
Rails)
In
\Application Data\e\Bundles\Rails.tmbundle\Syntaxes\HTML
(Rails).plist:
<key>fileTypes</key>
<array>
<string>rhtml</string>
<string>erb</string> <!-- this is the line I added -->
</array>