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?

0
2 comments
Avatar
Permanently deleted user

Hi,

this is known problem https://youtrack.jetbrains.com/issue/RUBY-15473

Regards, Oleg.

0

Please sign in to leave a comment.