Search code examples
ruby-on-railsrubyintellij-idearubymine

Is there anyway to let RubyMine choose first completion choice like Intellij Idea?


Intellij Idea like this:(when I click enter the auto completion code will appear on the line)Intellij Idea like this:

RubyMine like this: The idea does not auto choose the first one.So I need to click down button and choose the select one.RubyMine like this

So I want to know is there anyway to let RubyMine choose first completion choice like Intellij Idea?


Solution

  • Autocompletion's behaviour in RubyMine has been changed since there were a lot of complains against it in previous versions (because it was choosing not always the desirable one option).

    If you want to restore the old behaviour, type "Registry" in Search everywhere and look for ide.completion.lookup.element.preselect.depends.on.context and unselect it.

    Note: To Search Everywhere double press "Shift" key. Don't mistake this for searching inside preferences window.