More inteligent code highlighting

1. RubyMine looks interesting but I can't find any Haml support (only ERb?).

2. RubyMine's code completion looks great and that editor has good potential. But to be honest, its Ruby code parsing is worse than Netbeans. For instance, I really like to see highlighted all places where my variable is used. In Netbeans I can point my mouse pointer on any variable and I can see all its usage in context. Is there any plan for  adding that feature to RubyMine?

3 comments
Comment actions Permalink

Hello Jaroslaw,

1. RubyMine looks interesting but I can't find any Haml support (only ERb?).

RubyMine 1.0 doesn't have HAML support, HAML support is planned for 1.5. Maybe we'll add some basic support in 1.1.

2. RubyMine's code completion looks great and that editor has good potential. But to be honest, its Ruby code parsing is worse than Netbeans. For instance, I really like to see highlighted all places where my variable is used. In Netbeans I can point my mouse pointer on any variable and I can see all its usage in context. Is there any plan for  adding that feature to RubyMine?

You can enable the same behavour in RubyMine at: File | Settings | Editor | Highlight and Caret Movement |  Highlight usages of element at caret

Regards,
Oleg

0
Comment actions Permalink

To make up for my other bashful posts, I'll defend RubyMine for once:

2. RubyMine's code completion looks great and that editor has good potential. But to be honest, its Ruby code parsing is worse than Netbeans. For instance, I really like to see highlighted all places where my variable is used. In Netbeans I can point my mouse pointer on any variable and I can see all its usage in context. Is there any plan for  adding that feature to RubyMine?


Frankly, RubyMine editor (inherited from IDEA) is light years ahead of NetBeans. I'm not saying it's perfect, but it's much better than anything else on the market today. It's just that (thankfully) it refuses to copy how Eclipse works (it usually happens the other way around), so new users might feel a little lost. After you get used to it, however, it's the most productive environment I've worked with.

To answer your specific problem: there's an option that can be enable to provide that: "Settings -> Editor -> Highlight usages of element at caret". I believe this constant highlighting to be distracting and never understood why some people love this. Instead, I prefer to user the CTRL+SHIFT+F7 shortut to highlight usages only when I need. You could give it a try and see if you like it.

0
Comment actions Permalink

Thanx for hint. The more I use RubyMine the more I like it. I have bought it already.

0

Please sign in to leave a comment.