trying to start a project using the newest WxRuby (2.0.1) under RubyMine using the WxRuby autoinstaller executable under Windows XP.
Pretty good success so far, but code completion/autocomplete would be a big help.
I cannot seem to get code completion to bring up classes or constants from the Wx:: namespace.
I have added the following paths under Preferences/Project Structure/Load Path:
I'm too much of a newbie to know any better, but I think the reason is that WxRuby is using a binary-only wrapper for the wxwidgets library.
# This wrapper serves three functions:
# 1. It loads the binary library 'wxruby2.so' or 'wxruby.dll', while
# still allowing applications to just require 'wx'.
# 2. It sets up the version information
# 3. It loads in ruby extensions to the core Wx classes.
The ruby extensions "rubify" the otherwise very c++-like library using lots of metaprogramming techniques. So maybe it's just not possible to get code completion here.
Any insight would be appreciated.