3

Similar Post:
Hidden Features of Visual Studio (2005-2008)?

What are some shortcut keys you know of that make programming faster, easier, or all around more enjoyable?

Community
  • 1
  • 1
Starwfanatic
  • 584
  • 2
  • 13
  • 29

4 Answers4

7

One of my favorite items is CTRL + . to add an imports/using statement to the top of the code file.

Mitchel Sellers
  • 62,228
  • 14
  • 110
  • 173
3

I like CTRL + K + D, which formats the code in a file.

And although it's not a Visual Studio feature, I highly recommend Resharper.

Jasper
  • 2,166
  • 4
  • 30
  • 50
dcp
  • 54,410
  • 22
  • 144
  • 164
3
  1. Of course there is Intelli-Sense, it opens automatically or when you hit Ctrl + Space. Select the variable / class / function or whatever it shows you and hit Enter or Tab to insert it.
  2. Code snippets, also provided by the Intelli-Sense list insert code so you do not need to type everything again. Etc. type "prop" and double hit Tab.
  3. Ctrl + K, Ctrl + D to format your total file so it looks cleaner.
  4. #region / #endregion to group your code and allow you to hide the whole region
Jasper
  • 2,166
  • 4
  • 30
  • 50
opatut
  • 6,708
  • 5
  • 32
  • 37
2

Couple of my favorites:

  • CTRL + TAB -- moves you between open code pages

  • SHIFT + CTRL + F -- allows you to do a search across the entire solution (as sometimes find all references does not work when your solutions get huge)

  • SHIFT + DELETE -- allows you to remove an entire line from your code without highlighting it.

Jasper
  • 2,166
  • 4
  • 30
  • 50
Doug
  • 5,268
  • 24
  • 31