Home Download Buy Blog Forum Support

Not remembering filetype for color highlighting (Rails ERBs)

Not remembering filetype for color highlighting (Rails ERBs)

Postby bobclewell on Tue Jun 19, 2012 6:59 pm

Sublime Text is not remembering the filetype I choose for highlighting for HTML.ERB files. I select 'Open all with current extension as...' select 'HTML(Rails)' and it changes, but once I close the file and re-open it it's back to 'Ruby on Rails' and the file is colored incorrectly.

Is this fixed with a more recent build? Am I missing something in the settings? Please help.

I'm using an evaluation copy now, and I'd really like to buy it, but I can't do that until this frustrating bug is resolved.

Version is Sublime Text 2 (beta, build 2181)
OS is OS X Lion
bobclewell
 
Posts: 3
Joined: Tue Jun 19, 2012 6:47 pm

Re: Not remembering filetype for color highlighting (Rails ERBs)

Postby jps on Wed Jun 20, 2012 3:45 pm

What's the file name in question?
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Not remembering filetype for color highlighting (Rails ERBs)

Postby bobclewell on Wed Jun 20, 2012 6:02 pm

any_file_name_with_this_extension.html.erb
bobclewell
 
Posts: 3
Joined: Tue Jun 19, 2012 6:47 pm

Re: Not remembering filetype for color highlighting (Rails ERBs)

Postby bobclewell on Wed Jun 27, 2012 5:14 pm

This appeared to be a defect with one of the packages I installed.

I followed the below instructions, and it's working correctly.

http://www.sublimetext.com/docs/2/revert.html
bobclewell
 
Posts: 3
Joined: Tue Jun 19, 2012 6:47 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 19 guests