How do you create a shortcutkey to move lines up & down like VSCODE?

Eclipse, NotePad++, VS Code, Squirrel SQL, DBeaver, etc. have a shortcut key to move lines of code up and down.

I use Ctrl+SHIFT+Up/DOWN arrows to do this in other editors.

But, I cannot seem to do that Toad. Where can I enter in this shortcut key? I am using Toad version: 6.0.5.425 (64-bit)

you can follow these steps:

  1. Open the Options dialog box. You can do this by pressing Ctrl+Alt+O or by clicking on the Options menu item in the Tools menu.
  2. In the Options dialog box, select the Keyboard tab.
  3. In the Keyboard Shortcuts list, expand the Editor node.
  4. In the Editor node, expand the SQL Editor node.
  5. In the SQL Editor node, locate the Move Line Up and Move Line Down commands.
  6. In the Shortcut column for the Move Line Up and Move Line Down commands, enter Ctrl+Shift+Up and Ctrl+Shift+Down, respectively.
  7. Click OK to save your changes.

Once you have saved your changes, you should be able to use Ctrl+Shift+Up and Ctrl+Shift+Down to move lines of code up and down in Toad.

Hi, buddy, did this help?