Tab to select autocomplete item in eclipse?

Carl R picture Carl R · Apr 10, 2011 · Viewed 29.6k times · Source

I can't find either the term autocomplete or intellisense in Preferences->General->Keys in Eclipse 3.6.2.

I don't want to press enter to select an autocomplete item when I write code. Can I configure Eclipse to accept an autocomplete item with the tab button?

Answer

Ben picture Ben · Aug 11, 2011

I believe you are looking for "word completion" Left Alt + / though you can change it in "Preferences->General->Keys" to be whatever key combo. Pressing / multiple times cycles through the different suggestions. It's not very intelligent. For example if you have String apple; and double apps; and you type double x = a and then Alt + / eclipse might suggest apple instead of apps, even though apple is an String.

Edit: Looks like it's ctrl + / on some computers.