The Most Useful Keyboard Shortcuts for .NET Developers

Posted: August 20th, 2011 | Author: | Filed under: .NET General, Cheatsheet, ReSharper, Visual Studio, Windows | 7 Comments »

A few days ago I blogged about a .gitignore file for those developers with a focus on .NET technology and tools and today I want to share a small cheatsheet with you I called it “The Most Useful Keyboard Shortcuts for .NET Developers”.

You have probably seen many cheatsheets and blog posts talking about useful shortcuts to use in Windows, Visual Studio and etc.; Today I came up with an idea to create a single cheatsheet with the most useful shortcuts which a .NET developer can use in his/her daily coding stuff so I ended up creating a document containing some useful shortcuts for Windows 7, Visual Studio 2010 and ReSharper 6. You can view and download this document/cheatsheet on Google Docs.

Just like what I had requested for .gitignore file, please send me your suggestions as a comment on this post or to @mahdi on Twitter. This way I can complete/enhance this cheatsheet to be more useful.


7 Comments on “The Most Useful Keyboard Shortcuts for .NET Developers”

  1. 1 Chris McGrath said at 6:34 am on August 22nd, 2011:

    - Shift Delete – it should be noted that it’s just a regular cut (exactly the same as ctrl-x) Visual Studio just has the awesome behaviour of if nothing is selected it performs a line cut. Same thing happens for copy. (Note though: VS2010 stuffed up the marker ends up after the operation – putting it at the start of the line. I wrote an extension that fixes most of these cases – http://visualstudiogallery.msdn.microsoft.com/0bed93d6-2d4b-4661-a426-7071a2b386e7 )

    - F12 but no Shift F12?
    - Ctrl Space & Ctrl . Both fundamentals (but it’s surprising how many people don’t use them)

  2. 2 Mahdi Taghizadeh said at 12:02 pm on August 24th, 2011:

    @Chris

    Thank you! I updated it with some of your cool suggestions :-)

  3. 3 David Basarab said at 9:28 pm on August 24th, 2011:

    Ctrl – (control minus or dash) will go back to your previous place. After using F12 to go to definition.

    Ctrl-M-M will expand or collapsed based on where the cursor is. Usefully when everything is collapsed and you just want to expand the one section.

    For Reshaper

    Ctrl-R-F takes a local variable and makes it a field.
    Ctrl-R-M takes selected code and makes a new method
    Ctrl-R-P makes a local or member variable a parameter for the method.

  4. 4 Mahdi Taghizadeh said at 1:39 pm on August 25th, 2011:

    @David

    Thank you! Added your suggestions :-)

  5. 5 Tim said at 11:23 am on September 2nd, 2011:

    This cheat sheet has been added to DevCheatSheet.com – http://devcheatsheet.com/cheatsheet/1949/

  6. 6 Mahdi Taghizadeh said at 11:31 am on September 2nd, 2011:

    @Tim

    Thank you :-)

  7. 7 Ed Spencer said at 6:23 pm on December 8th, 2011:

    Hi Mahdi,

    This is so useful. Thanks for taking the time to create it and share it!

    Ed


Leave a Reply

  •