New line shortcut keys for Visual Studio 2005 - level 200

When Jeff Palermo talks people should listen ;).  He just posted an article on how to better stay off the mouse.  I could not agree more with him that keyboard to mouse interaction slows you down. While sometimes it is not avoidable, one should still strive to memorize as many shortcuts as possible. 

I am using Attensa's new tool to publish to the blog.  While I realize that some may not like this idea, I am posting here so that I have easy access to the information and so that I don't lose the link (which has happened in the past and had to use google cache to reconstruct the post).  By all means though feel free to read it yourself here:

Source: New line shortcut keys for Visual Studio 2005 - level 200
by jpalermo

I am a big fan of shortcut keys.  I find that if I can keep my hands on the keyboard and not reach for the mouse, my productivity stays high.  First, I want to say thanks to Steve Donie for this change in my mindset.  Steve has a key for everything, and if there is not a key for it, he has a batch script with a shortcut key mapped.  Below, I'll illustrate some shortcut keys I love.  Note, I use many, many shortcut keys that hook into Resharper, but these shortcut keys work in Visual Studio 2005.
ctrl+enter: Insert a line above the current line and jump to the new line
before:

after:

shift+enter: Add a line above the current line and stay on the current line
before:

after:

ctrl+shift+enter: Add a line below the current line and jump to the new line
before:

after:
 

Published Friday, February 02, 2007 2:28 PM by dotnetgeek
Filed under: ,

Comments

# re: New line shortcut keys for Visual Studio 2005 - level 200

Friday, February 02, 2007 9:22 AM by Jeffrey Palermo
Thanks for the comments. I would prefer a link to my post instead of a complete republish of it.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems