Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 631
Marshal Chen Avatar asked Jun 01 '15 14:06

Marshal Chen


1 Answers

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.

like image 89
Olivia Avatar answered Nov 06 '22 01:11

Olivia