varunmaggo's say

Getting better never stops!

Shortcuts i use in Visual Studio 2010

leave a comment »

  • Hold Alt while selecting = column select mode (don’t need to continue holding).
  • ctrl+K, ctrl+C = comment out a section
  • ctrl+K, ctrl+U = uncomment a section
  • ctrl+M, ctrl+O = collapses all regions (functions, etc.)
  • ctrl+M, ctrl+L = shows all regions (functions, etc.)
  • ctrl+. (dot) = Show smart menu (whenever you see that weird blue underline, it brings up a menu of options related)
  • ctrl+N = New file dialog
  • Shift+Alt+Enter = Full screen mode (I only use this when I’m trying to show code to people on a projector or something)
  • ctrl+tab = goes between child windows and brings up the nice “active files” window so you can pick the file you want (at least in 2010 anyway).
  • F5 = debug (also in break mode causes the execution to continue, but if you don’t know that, that’s rather worrisome)
  • Ctrl+F5 = compiles and runs the app (no debug)
  • Shift+F5 = kills debugging session
  • F4 = displays the properties window
  • ctrl+K,ctrl+D = formats the code in the window
  • Shift+del = deletes a row
  • F12 = Go to definition
Advertisement

Written by Varun Maggo

September 28, 2011 at 8:27 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.