I have installed the newest stable IntelliJ IDEA version and a Ruby 1.8.7 runtime under Windows 7 (64bit). Given a PHP project with a cucumber/gherkin test directory I created a new project (java project) and added the project root as a source directory. This works fine for all php stuff. But when I open up a *.rb (ruby) file there's the message that a "JRuby" facet has been detected. I neglected to create such a facet as I have a native ruby installation and don't want to install JRuby. But now the autocomplete for Ruby files is sort of broken.
I.e. when I input "mod" and press Ctrl+Space it will be completed to "module" correctly. But when I input "req" it won't be completed to "require". (I tested another project and installed JRuby to
Another problem: when I create a "common" cucumber project structure like this one...
... then if I edit the test1.feature file there will be an autocompletion on the steps defined in global.rb and test1_step.rb. In order to provide a better testing structure that more suitable to bigger suites I created the following structure:
Now when I edit test1.feature the steps defined in global.rb will not be provided on autocompletion. Even if I copy the global.rb file to the testsuite1 directory this won't be the case. So did I mess up something or is such a structure not supported by IDEA 10?
Any help would be appreciative. :)