Eclipse Tab key for code autocompletion instead of the Enter key for Java?

174 views Asked by At

I've read many questions and similar issues, but I can't seem to find an answer on how to achieve the effect of having the Tab key input the suggested content from the content assist as Enter does while coding.

I've tried changing the binding in Window/Preferences/General/Keys -> Word Completion and Content Assist to Tab, but it didn't work.

1

There are 1 answers

2
howlger On

In the preferences General > Keys change only the binding for the command Content Assist from Ctrl+Space to Tab, not the binding for the command Word Completion.

Otherwise, Tab would trigger only Word Completion as it has the more specific scope (When: Editing Text vs. When: In Dialogs and Windows), not both commands.