Dear RubyMine Developers.
I've been using RubyMine #820 for a week now (moved from Netbeans) and I am just starting to get used to the new keybings.I continue to be impressed with the product .
I do, however, have a suggestion regarding Ruby syntaxt highlighting and the Ruby "Unresolved Ruby Reference" inspection. I've attached a screenshot to illustrate my suggestion; the top half of the screenshot shows a Netbeans capture whilst the bottom halt of the screen shot shows the RubyMine equivalent.
Appologies in advance if I have misunderstood the "Unresolved Ruby Reference" inspection.
1. Is there anyway to configure the "Unresolved Ruby Reference" inspection to ignore all instance variables/methods? Notice in the RubyMine that topic.user, topic.locked and so on are marked as unresolved. Ideally, I would want this inspection to only highlight local unresolved variables or have an option that limit inspections to a method's scope only. I appreciate that due to Ruby's dynamic nature, it might not be possible to infer the type of a variable in the give example. Would be better to not highlight variables/methods in this situation? Otherwise, is there an alternative method by which only local unresolved variables are highlighted?
2. Note the return topic, post line in both the screenshots. both topic and post should be highlighted by the "Unresolved Reference" inpsection as the return references these two variables outside the Transaction block and as such they will both be undefined in that scope.
3. Unused variable highlight. Is there a way to highlight unused variables inside a method (for either a method parameter or local method? I note that there is a "Unsued symbol" but I don't think that's what I'm looking for.
Thanks for your time and a great product!