Visual Studio Cut or Delete the Current Line
Monday, March 19, 2012
Posted by Priya Yadav
In the past month I have written over 1,000 lines of code every single week (not that this is anything new) but without realizing it I was spending a lot of time highlighting, deleting text, then removing the carriage return/line feed. This short-cut may not seem like much but it is a huge time-saver as you work to design your classes in a structured extensible way and it has speed up my editing by over 10%.
Keyboard: CTRL + L (cut text); SHIFT + DEL(cut text and carriage return); CTRL + X(cut text and carriage return); CTRL + SHIFT + L (delete)
Command: Edit.LineCut; Edit.Cut; Edit.Cut; Edit.LineDelete
Versions: 2008,2010
Keyboard: CTRL + L (cut text); SHIFT + DEL(cut text and carriage return); CTRL + X(cut text and carriage return); CTRL + SHIFT + L (delete)
Command: Edit.LineCut; Edit.Cut; Edit.Cut; Edit.LineDelete
Versions: 2008,2010
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
Programming
. Follow any responses to this post through RSS. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
Post a Comment