Gtk3 and autocompletion
Hi,
I'm new to ruby but not new to development. I cannot make autocompletion work for Gtk3 library. I've tried for couple methods in Window and Button objects and it just doesnt see anything there. I have autocompletion for other classes and indexing seem to work. Gem is also visible on External Library list.
Is there a way to make it work? Thanks!
Debian GNU/Linux 8 (jessie) 64-bit, RubyMine 7.1.4. Using latest rvm (1.2.11) with ruby 2.2.1
Please sign in to leave a comment.
Hi,
are you using gtk5 gem (https://rubygems.org/gems/gtk3)?
One possible cause of the problem with autocomplition could be complicated way the methods defined.
After a quick looks I have an impression that most methods are defined using method_missing()+some magic and I'm right then RubyMine just unable to understand the magic :(
You are welcome to file a ticket about the problem in out tracker (https://youtrack.jetbrains.com/issues/ruby) but I cannot guarantee that it will be fixed quickly.
Regards, Oleg.
Thanks Oleg,
Yes thats the one - gtk3 gem. I can create a ticket and meanwhile i will look for another library. Its quite hard to develop without autocompletion when you are new to language : )
Thanks!
Yes, I understand you. Unfortunatelly not all meta-programming can be handled to provide the autocompletion :(
Regards, Oleg.