Change key binding for the Syntax Completer?

Asked by Johannes H. Jensen on 2010-07-09

Hi, is it possible to change the key binding of the GDP Syntax Completer? Preferably without editing the source code...

Question information

English Edit question
Gedit Developer Plugins Edit question
No assignee Edit question
Solved by:
Curtis Hovey
Last query:
Last reply:
Curtis Hovey (sinzui) said : #1

No there is not. I do not care for ALT+/ myself. What key binding combination do you think is better?

Johannes H. Jensen (joh) said : #2

I'm used to Ctrl+Space from Eclipse, but Ctrl+Shift+Space is also common. It would be nice if it was configurable inside the plugin though :-)

Curtis Hovey (sinzui) said : #3

In gedit, Ctrl+Space activate snippets, Ctrl+Shift+Space conflicts with the HTML <br /> snippet. GDP used the latter binding until it was discovered that it conflicted. Gedit's snippets take precendence so the GDP key binding silently cease to work.

Ctrl+ALT+Space is also taken by a gedit snippet :(
Super+Space is taken by GNOME do.

Since many GDP user are also snippiet and GNOME do users, I switched chose the '/'.

Johannes H. Jensen (joh) said : #4

Ah I see. It would be nice if all of those key bindings were configurable then, but I guess that's a feature not currently in gedit..?

Best Curtis Hovey (sinzui) said : #5

The snippet binding can be updated using Tools > Manage snippets. User do not though.

I reported a bug to make GDP's accellerator configurable.

Johannes H. Jensen (joh) said : #6

Thanks Curtis Hovey, that solved my question.