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

后端 未结 6 978
猫巷女王i
猫巷女王i 2020-11-29 15:48

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

6条回答
  •  执笔经年
    2020-11-29 16:28

    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

提交回复
热议问题