views:

13

answers:

1

In Eclipse, I find it pretty annoying that Enter is the hotkey that selects an item from the Content Assist/Autocomplete list. Especially in PyDev where there is no end-of-line semicolon, pressing enter for a new line will instead give me whatever is selected in the Autocomplete list.

Tab is a much better selection hotkey since I'm not likely to want a tab mid-line.

Any chance of changing this in Eclipse?

Using CDT, PDT, and PyDev, but interested in any solution related to Eclipse.

A: 

All key bindings in Eclipse are defined in Window -> Preferences -> General -> Keys. I don't think you can change what is used to select stuff from the autocomplete list, but you can use space to select and then Enter for new line.

TK Gospodinov
You mean space to *unselect* then enter for new line, right? Then I've got an extra space at the end of each line. I suppose Esc then Enter is an option, but this really does get awkward and not very worth it.
AK