AngryHacker
AngryHacker

Reputation: 61646

How to add a context menu item to the toolbar?

I have several projects in my solution. I'd like to debug a standalone project that is not the active project. So, I right click on it, select Debug/Start New Instance and it runs.

Is there a way to place this Debug/Start New instance on the toolbar somehow? I don't see anything in the Customize... screen to be able to add a context menu to the toolbar.

enter image description here

Upvotes: 1

Views: 651

Answers (1)

Sergey Vlasov
Sergey Vlasov

Reputation: 27940

The command name is ClassViewContextMenus.ClassViewProject.Debug.Startnewinstance. I'm not sure you can add it directly to the toolbar, but you can call it from a macro and add the macro to the toolbar. Or just assign a keyboard shortcut to it.

Upvotes: 1

Related Questions