JRuby and Java code completion
Answered
IDEA can't autocomplete java things
require 'java'
frame = javax.swing.JFrame.new()
For example, it doesn't recognize javax.swing package and nested objects neither.
How to turn autocompletion on?
Please sign in to leave a comment.
Hello,
Is it possible to share sample project for investigation?
Hi, it's just empty project created with "New Project -> Empty Project".
Should I create with "New Project -> Gem"?
Sorry, if you create empty project then no modules are there. Did you add any module?
I added JRuby sdk, that's it. Do I need to add somewhere JDK as a module?