“Right Click” keyboard short cut for Visual Studio?

后端 未结 5 782
失恋的感觉
失恋的感觉 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:49

    To open a new file without keyboard you can use CTRL + SHIFT + N (Using Resharper) To show up the right click menu for any part of your code. Point to the part that you want and use SHIFT + F10

    Normally, I like using CTRL + SHIFT + G (Resharper again) for getting the Navigation menu (Usage, Base, Implementation, etc)

    Even better if you want to go to any Method/class/intenal/or a field, use CTRL + SHIFT + ALT + N (Again using Resharper), this will bring you a list of all that match your criteria to choose from.

    0 讨论(0)
  • 2021-02-03 23:51

    Taken from lytebyte, you've got two options:

    • Shift + F10
    • That nutty key on the bottom-right of a modern Windows keyboard, the Menu key
    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-02-03 23:53

    Assuming you just want a key you can press to right click, most\many keyboards have a key between alt and ctrl that right clicks.

    0 讨论(0)
  • 2021-02-04 00:10

    Does your keyboard have the extra 'Windows' keys, ie. the Windows logo (Start key) and the one on the right-hand side of the spacebar that looks like a menu? Cause that button on the right-hand side is the 'Context menu key'.

    See the key between the right-hand side 'Windows' key and the Ctrl key? Windows Keyboard layout

    If your keyboard is less than 10 years old you should have these keys, unless you have an IBM laptop or a Mac.!

    0 讨论(0)
提交回复
热议问题