Did you know... Ctrl+L cuts the current line and Ctrl+Shift+L deletes the current line - #046
Ctrl+L, bound to Edit.LineCut, will cut the current line, including EOL.
Ctrl+Shift+L, bound to Edit.LineDelete, will delete the current line, including EOL.
and for our bonus keyboard shortcut of the day… Shift+Delete will cut the current line, including EOL, if nothing is selected on the current line. If text is selected, Shift+Delete will cut just that text.
Again, as with yesterday’s tip, I have no idea what picture to use to represent this behavior, so I drew some seagulls flying over the ocean on a warm summer day (unlike seattle) with a sailboat (a flying scot, the boats I used to race back home, nonetheless) in the background.
Technorati tags: VS2005Tip, VS2008Tip
Comments
Anonymous
September 24, 2007
PingBack from http://www.artofbam.com/wordpress/?p=2725Anonymous
September 24, 2007
Doh! I didn't know about Ctrl+Shift+L! My blood pressure shoots up whenever I Ctrl+L and mess up my clipboard ring. Thanks!Anonymous
October 08, 2007
For some time I have been subscribing to Sara Ford's blog where she shares useful tips for VisualAnonymous
June 22, 2008
Ctrl + L キーは、Edit.LineCut に割り当てられており、現在の行を EOL も含めて切り取ります。 Ctrl + Shift + L キーは、Edit.LineDelete に割り当てられており、現在の行をAnonymous
October 09, 2008
Ctrl+L , привязанная к команде Edit.LineCut, вырежет текущую строку, включая символы окончания строки