Search code examples
ruby-on-railsrubymine

RubyMine stopped recognizing html.erb


my rubymine stopped recognizing html.erb files :s You can see how it looks here: http://pasteboard.co/1D5oWZGB.png

If your suggestion, its a uninstall, please tel me how to do it on Ubuntu :) Thanks anyway :)


Solution

  • Based on what you're showing us with the screenshot RubyMine's built in file type system is no longer seeing the *.erb files as RHTML or Ruby files anymore.

    Please verify that your file mappings are correct by going into the settings menu (File -> Settings or Ctrl + Alt + S) and checking the listed file mappings by going into Editor -> File Types -> RHTML.

    It should look something like this: Rubymine File Types

    If *.erb is not listed there try adding it again and it should re-enable code highlighting etc.