Visual Studio keyboard shortcut to automatically add the needed 'using' statement

Bramha Ghosh picture Bramha Ghosh · Sep 29, 2008 · Viewed 117.3k times · Source

What is the keyboard shortcut to expand the little red line that gives you the menu where you can choose to have the necessary using statement added to the top of the file?

Answer

Orion Adrian picture Orion Adrian · Sep 29, 2008

Ctrl + . shows the menu. I find this easier to type than the alternative, Alt + Shift + F10.

This can be re-bound to something more familiar by going to Tools > Options > Environment > Keyboard > Visual C# > View.QuickActions