GNOME Bugzilla – Bug 648944
gedit Word Completion Plugin: should display the word currently typed
Last modified: 2019-03-23 20:49:18 UTC
The word completion is wonderful, except that sometimes it gets in the way. For example, if I type the following code: def select_line_ending case platform when windows ending = CRLF else ending = LF end end⏎ When I type ENTER after the second "end" keyword, I get the following code: def select_line_ending ... ending But that was not at all what I wanted. I just wanted to get a new line, and leave the legitimate "end" keyword there. In fact, when I type "en" I get the completion for "end" and "ending" When I type 'd', I loose the completion for "end" and get only "ending" So when I type ENTER, I get "ending" on the screen I would like the behavior to be changed so that when the current word is on the completion list, it stays, even if there is no more characters to complete.
As you said on bug #648946, there is a better way to fix this problem. When we want to complete a word, if we always have the currently typed word as the first proposal, we must use the arrows keys (or other shortcuts) to select another proposal. So it would not be convenient for the majority of cases.