question

RileyE-3090 avatar image
0 Votes"
RileyE-3090 asked

How to get user right click selection.

I am developing a visual studio 2019 extension that adds commands to a right click context menu. When my custom command is selected I need to get the information on what the user selected with a right click to open the context.

The context menu I an extending is in the git repository on the branches tab. The guid = 57735d06-c920-4415-a2e0-7d6e6fbdfa99
and the CmdID = 0xf032 or 61490 in decimal.

Help on how to get information (specifically the name of the branch) selected with a right click would be appreciated.

vs-extensions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers