Keyboard shortcuts
Specifically, is there a keyboard shortcut to scroll through the query history?
What would be a reasonable default shortcut for going back to the last query, and forward to the next query?
Keep in mind that users may accidentally press such a shortcut and loose the current contents of the editor. The Ctrl+Z and Shift+Ctrl+Z shortcuts should revert these "back" and "forth" actions.
I am searching how can move line up or down like in others editor.
I mean something like:
ALT + UP Arrow move the current line up and
ALT + DOWN Arrow move the current line down
I use it on notepad++, Visual Studio Code, Visual Studio 2019, Server Management Studio (SSMS). I don't remember but others editor use the same shortcut.
any idea if and how I can do it?
thx
Then there's no way to do that per keyboard shortcut. Probably using the mouse per drag'n drop.
There seems to be a way to create custom shortcuts, but I have no clue how to accomplish that. See the SynEdit sources.
I didn't know the editor name used...seems it's possible
I found the following discussions:
One seems a macro but I don't how to it :-(
Another similar discussion reports Solved with editor macros and assign keys to them. Here are my editor macros to mimic the Notepad++ behavior. IDE Shortcuts to move and duplicate lines?
Create editor commands for moving line up/down. See https://www.heidisql.com/forum.php?t=18926
I adopted the one from https://forum.lazarus.freepascal.org/index.php?topic=40208.0 , plus additional safety checks, and gave them Alt+Up
and Alt+Down
. These two are not really SynEdit commands, but homebrown actions, and are manually placed at the end of the long menu Query > Editor commands.
Thanks a lot of your time, really appreciated.
are manually placed at the end of the long menu Query > Editor commands. Do your know how to add them?
I have a portable version of Heidi SQL and I don't see any editable files that contains the long menu.
Do your know how to do it?
I am searching for another good and useful feature: columns selection.
In Notepad++, VS Code, SMSS SQL is available with ALT+MOUSE DRAG UP/DOWN OR ALT+SHIF+MOUSE DRAG UP/DOWN
I searched on internet but SynEdit seems has not this feature but there are some implementation like move line up/down.
I find some:
Please login to leave a reply, or register at first.