Share via


Visual studio Mouse right click short cut with keyboard

Question

Monday, March 7, 2016 7:10 PM

Hi ,

I know we can use Shift +10 for right click for context menu in visual studio.But I want to change this shift+10 to some other key.

I searched web a lot but I cannot find a solution.Please help me in remapping the mouse  right click to keyboard.

~P

All replies (3)

Wednesday, March 9, 2016 1:38 AM âś…Answered

Hi Priya2WPF,

I try Shift + F10 in any other programs in Windows, all of them can work with this shortcut. So I think this shortcut is belong to Windows default shortcuts.

In Visual Studio settings, we can assign shortcut for Visual Studio specific operations with the steps in my first reply. But we can't change Windows' shortcuts in Visual Studio.

So I'm afraid that we can't change the Mouse Right Click shortcut in Visual Studio settings. I suggest you submit this requirement to Visual Studio User Voice and then share the link here. It can let other communities who has the same requirement to vote and add comments for your feedback.

Best Regards,
Weiwei


Tuesday, March 8, 2016 8:07 AM

Hi Priya2WPF,

Please assign Shift + F10 to some other key from menu Tools -> Options -> Environment -> Keyboard in Visual Studio.

For example, if you want to assign the Shift + F10 to AddAnalysisNotes, please open above menu and choose AddAnalysisNotes in Show commands containing list. Then press Shift + F10 in Press shortcut keys text box and click Assign button to assign this shortcut to the selected command.

If you still want to use other shortcut on keyboard to open the right-click context menu, please press the Menu key on keyboard which also can open the right-click context menu.

Best Regards,
Weiwei


Tuesday, March 8, 2016 4:46 PM

I am using VS 2012. What is the option  that I have to select for Mouse Right click?

Right now If press Shift+F10 VS gives context menu.  I want to change this Shift +F10 to Ctrl+ >

How can i do that that.

Thankyou,

Priya