Completion of my Modules and classes Follow
If I have a class:
module Foo
class Bar
Class contents
end
end
and it's in the file /app/models/foo/bar.rb
When I use this class elsewhere I'd expect to be able to do
f = Fo
and then hit Ctrl+Space to complete and be offered Foo as a module to complete too - but I don't. Do I need to setup some kind of load path or something to get this to work? I've been trying this with Rubymine 472
Thanks
John
Edited by: john on Nov 21, 2008 2:03 PM
Please sign in to leave a comment.
Hello john,
This is a known shortcoming. Feel free to vote for http://www.jetbrains.net/jira/browse/RUBY-1794
or watch the issue to get notified when it's implemented.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi,
I see this is marked as fixed in release 500, but it's not quite working for me.
From the above example I can type:
Ba
then hit Ctrl+Space and get Bar offered as a completion, which just completes to 'Bar', but I can't do
Fo
hit ctrl+space and get Foo offered as a completion. Furthermore typing
Foo::Ba
ctrl+space doesn't offer Bar as a completion.
Is it supposed to, or could I have something badly setup?
Thanks
John