QoL improvement: Copy Paste keys default to lines

Discussion of open issues, suggestions and bugs regarding database management and development tools for SQL Server
Post Reply
MEngelbyDev
Posts: 33
Joined: Tue 06 Dec 2016 19:49

QoL improvement: Copy Paste keys default to lines

Post by MEngelbyDev » Tue 29 Aug 2017 15:44

https://devart.uservoice.com/forums/177 ... ow-predomi

I've entered the suggestion into the Uservoice forum. If anybody reading this thinks it is a good idea, please click on the above link and upvote the idea. This isn't a huge feature, but may require a rewriting of the clipboard functionality within the dbForge editor. Which could be a non-trivial change, presuming how many products use the same base code.

Feature suggestion copied here for your convenience:
When editing SQL text, would it be possible to change the default action of cut (CTRL-X), copy (CTRL-C) and paste (CTRL-V) to operate on the current line if no selection is visible? Every programming editor I've used do this as the default. An example use case: Cursor is in the middle of my current line and I want to delete the line. Current actions required are to press the HOME key (most times twice because the line is indented), hold down the SHIFT key and press the DOWN ARROW key, then press DELETE, or start typing with the new text. WIth the new proposed feature, all of those user keyboard actions could be done by one hand movement of pressing CTRL-X. Line is deleted and I can quickly move onto my new edits. Or if I need to move one line, I could press CTRL-X, arrow to the line where I want to paste the cut line, and press CTRL-V to insert the line before the current line. It wouldn't be necessary to have the cursor on the first character of the line because the paste operation would default to the entire line (if no selection has been made).

I wouldn't expect the editor in dbForge Studio to follow most of the conventions used in programming editors, but this one feature would save a great deal of time when doing rapid edits.

Post Reply