“Right Click” keyboard short cut for Visual Studio?

后端 未结 5 777
失恋的感觉
失恋的感觉 2021-02-03 23:11

I\'m trying to force myself to use as little mouse as possible and I can\'t find the answer to this simple short-cut anywhere! Here the the steps:

  1. Open up Visual S
5条回答
  •  清酒与你
    2021-02-03 23:53

    Depends on where/why you're right-clicking.

    The context-menu key is on the right of the keyboard nowadays, usually between the Windows key and the Control key on the right of your spacebar. That will open the context menu wherever the current focus is (usually in the text editor).

    If you're using the right mouse button just to open the refactoring tools, you can use Ctrl + . (control period) to pop open the "smart tag" on any identifier. That'll get you the "generate method stub" menu item and the like.

提交回复
热议问题