Change key binding for the Syntax Completer?

Asked by Johannes H. Jensen

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

Question information

Language:
English Edit question
Status:
Solved
For:
Gedit Developer Plugins Edit question
Assignee:
No assignee Edit question
Solved by:
Curtis Hovey
Solved:
Last query:
Last reply:
Revision history for this message
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?

Revision history for this message
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 :-)

Revision history for this message
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 '/'.

Revision history for this message
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..?

Revision history for this message
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.

Revision history for this message
Johannes H. Jensen (joh) said :
#6

Thanks Curtis Hovey, that solved my question.