Open d2a-raudenaerde opened 5 years ago
You mean something like Templates but with Keybinding support right?
https://github.com/dbeaver/dbeaver/wiki/SQL-Templates
But to be able to push Ctrl+Shift+Something to just run the query?
Yes! And then be able to allow multiple key-bindings; for example Alt-F1 to Alt-F12 or customizable like the other keybindings.
I tried looking into the source to maybe try to write up a patch, but maybe anyone can give me some pointers? The hotkeys seem to be defined in the .xml files and I would like them to be configurable somehow.
+1 just like pgadmin macros, I use three of them all the time:
Really a time saver with key bindings
Isso é muito bom e muito útil.
PGAdmin has support for macros in SQL execution. For example, when selecting a table name, it allows SELECT * FROM LIMIT 1000, which improves the usability for power users.
See here: https://www.pgadmin.org/docs/pgadmin3/1.22/macros.html
It would be very nice if we could customize something similar for DBeaver.