Not a subscriber?

Join thousands of others who are building self-directed lives through creativity, grit, and digital strategy—breaking free from the 9–5.
Receive one free message a week

Shortcut: Including a Namespace

**UPDATE**: I’ve been fat-fingering everything lately. I messed up and typed the comma, when I meant a period. I have updated the post to reflect the proper fix. 

Right now I have ReSharper turned off on my client’s machine because it bogs down the machine. There’s a lot of encryption going on to the hard drive so my guess is that this is the culprit. Reason being: I can run VS2010 with ReSharper installed on my laptop and its smoking fast, and it has 1/2 the power of the desktop. Odd.

Since I’m not using ReSharper I need a way to quickly include namespaces of a type that I’m using. Up until now, that shortcut has been SHIFT + ALT + F10.

This is not the case with VS2010.

The shortcut is now CTRL + .

That will give you a little popup menu asking if you’d like to include the namespace in the current file. You can do all of this from the keyboard, therefore saving yourself some time.