Just hit ctrl+c with no text selected - this copies the current line; likewise ctrl+x with no text selected cuts the current line.
SQL Server Management Studio equivalent for CTR+L keyboard Shortcut from Visual Studio
-
24-06-2022 - |
题
I have not been able to find the equivalent shortcut key to Ctrl+L used in Visual Studio (to cut and copy a line) in SQL Server 2005/2008. I find Ctrl+L to be very handy.
Does anyone know a keyboard shortcut to cut and copy a line in SQL Server Management Studio?
解决方案
其他提示
This is a partial solution.
In 2008 SSMS you can right click the toolbar. Choose customize then in the "Edit" section drag the "Line Cut" item up to the Edit menu.
.
Then pressing Alt + E followed by Alt + L works.
But I couldn't figure out how to then map that to the single Ctrl + L combination. This is by default mapped to "Show Estimated Execution Plan" and I didn't find a way to change that.
不隶属于 StackOverflow