Am 17.04.2011 13:13, schrieb Lex Trotman:
I can completely understand the problem, I have a similar MAJOR annoyance with Python, anything on the end of the line that is a prefix of a completion gets the first completion chosen when return is typed to end the line. This doesn't happen in C or C++ since rarely do lines end in a word, they mostly end in punctuation.
But for other languages the choice of return to select the item from the completion list is inappropriate. I have been forced to turn autocompletion off for Python, but that means remembering it since there is only one preference, not a per language one.
I seem to remember it was possible to close the autocompletion list with escape at some time which solved that for me sufficiently, but I remapped escape ages ago. Now I tried it again it is not possible anymore, the "cancel autocompletion" keybinding actually inserts the selected item.
Best regards.