Toad World® Forums

Shortcut Key to Move Line Up or Down


#1

Is there a shortcut key to move a line up or down?


#2

Can you please provide some additional details so we can try to assist you?
What feature in Toad DB2 are you using?
What ‘line’ would you like to move?

Thanks,
Jeff


#3

I mean a line of code in the SQL editor.

1: SELECT
2: COLUMN1,
3: COLUMN2
4: FROM TABLE

I want to have the cursor in line 3 and press a shortcut key (like ALT+UP) and line 2 and line 3 would flip positions.

1: SELECT
3: COLUMN2
2: COLUMN1,
4: FROM TABLE

Also a shortcut key to duplicate a line would be handy too.


#4

Thanks for the information.
Enhancement request CR 83519 has been opened to track these requests.
Thanks