Ruby Syntax highlighting not working with Ruby Plugin

Hello,
   We are using a licenced version of Intellij 10.5 and have installed the Ruby Plugin. We imported our Rails project however the Ruby syntax highlighting does not work. When I open a file with .rb extension, I see only gray text. How do we enable syntax highlighting for Ruby in Intellij with the Ruby Plugin installed? We are using Jruby, don't know if that matters. We thought syntax highlighting would be on by default...


Kevin

2 comments
Comment actions Permalink

Hello kevin,

Please make sure that the .rb extension is mapped to the Ruby file type in
Settings | File Types.

We are using a licenced version Intellij 10.5 and have install the
the Ruby Plugin. We created a new Rails project however the Ruby
syntax highlighting does not work. When I open a file with .rb
extension, I see only gray text. How do we enable syntax highlighting
for Ruby in Intellij with the Ruby Plugin installed?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,
  That worked. We went into Settting | File Types and .rb was associated with text files. Once we assoicated it Ruby it worked.


Kevin

0

Please sign in to leave a comment.