leonard chan
leonard chan

Reputation: 161

Predefined Menu Item in Visual Studio

I have been fiddling around with Visual Studio and have been able to add buttons/toolbar menus and the different configurations.

I was wondering if there is anyway to add a custom item to the menu?

enter image description here

Just anywhere within the dropdown we get when we right click a method/string/whatever.

Is this possible? If so, where do I start?

Cheers!

Upvotes: 0

Views: 119

Answers (1)

Markus Zaczek
Markus Zaczek

Reputation: 154

Go to Tools -> Customize -> (tab sheet) Commands and use the context menu radio button. In the drop down you can select which context menu you want to change. The one you are refering to is the one selected in this picture "Editor Context Menus | Code Window".

Go to tools->customize

Add your commands directly or if you want to add a new sub menu then use the "add sub menu" button and change the selection within the drop down to the specific sub menu afterwards. There you can create again sub menus or commands. I created the SVN on the picture for example.

showing self created sub menu

Here is what it looks like to me: enter image description here

Upvotes: 1

Related Questions