Navigate > Declaration doesn't open a right class declaration

I'm using RubyMine7.0, Rails4.1.5 and ruby2.1.2.

When I declarate two classes with same class name but different module name, Navigate > Declaration doesn't open a right class declaration.

For example:

# in RAILS_ROOT/lib
class Hoge::Hello
  ...
end

class Fuga::Hello
  ...
end

Fuga::Hello.new # Navigate > Declaration opens Hoge::Hello


Can I fix this behavior?

Please sign in to leave a comment.