[Github-comments] [geany/geany-plugins] Question: how to query if a keybinding exists? (#619)

LarsGit223 notifications at xxxxx
Sat Oct 7 14:38:35 UTC 2017


Thanks, I know that the keybinding dialog is doing that. But that has to be done manually by the user.

I was thinking about writing a plugin which could be called a "keybinding wizard". By itself it should do nothing. Instead it should offer an API to other plugins. Other plugins could pass over a list of keybindings they would like to use. Then a dialog could open which only applies these keybindings. But of course that dialog needs to check for existing keybindings and let the user decide to overwrite an existing keybinding or not.

This e.g. could be used by the scope debugger plugin to setup a keybinding wizard that let's the user easily set the keybindings of other debugger GUI's rather than hacking them in one by one (of course the list of keybindings would need to coded into the scope plugin but it wouldn't need to write the wizard dialog itself and the dialog/wizard functionality could also be used by other plugins).

What do you think about that?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/619#issuecomment-334939494
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171007/957a206e/attachment.html>


More information about the Github-comments mailing list