Good code highlighting, syntax analysis and code assist editor on js.erb and css.erb files

Posted by Pickachu on Stack Overflow See other posts from Stack Overflow or by Pickachu
Published on 2010-05-21T02:36:21Z Indexed on 2010/05/21 2:40 UTC
Read the original article Hit count: 395

I want to know if there is a good compatible api that supports erb and javascript highlighting.

I've already tried Eclipse with Aptana RadRails. Perhaps I'm configuring something wrong, but it guesses that I'm using html.erb on both css.erb and js.erb files.

I've tried too the Emacs with js2-mode, nXhtml and Rinari modes. Again, it works fine for html.erb, but it detects the css.erb and js.erb as html.erb files. Maybe it's possible to configure it to accept that files and be compatible.

© Stack Overflow or respective owner

Related posts about radrails

Related posts about ruby-on-rails