ruby 1.9 style hashes

Rubymine settings doesn't seem to allow changing the font
color for the new style hashes,

e.g.

name: "fred",

cannot change the styling for name:

whereas the old style "hash rocket" you can change the
font color,

e.g.

:name => "fred"

Would make it easier to read the code.

3 comments
Comment actions Permalink

On restarting Rubymine it seems to have picked up the same syntax highlighting as standard symbols.

0
Comment actions Permalink

Hello rehali,

Could you please clarify what highlighting options do you want for new style hashes?
Let's consider code
     name: "Foo"
What tokens do you want to highlight in this case?
P.s. please answer as the comment to the issue: http://youtrack.jetbrains.net/issue/RUBY-10193

Regards,
Oleg

0

Please sign in to leave a comment.