Visual Studio 2010: Name of document tab context menu - visual-studio

Does anyone know the name of the context menu that you get when right clicking a document tab in Visual Studio 2010?
I want to add the "Close All Documents" command to it, but I cannot figure out which context menu it is in the customize dialog.

You can find that menu at Other Context Menus | Easy MDI Document Window.

Related

Visual Studio's Folder View context menu

In Visual Studio 2017 it is possible to switch Solution Explorer into a folder view by pressing the Solutions and Folders button on the toolbar at the top. I want to add something to the context menu of the root folder in this view. I've been into 'Customize...' switched to the 'Commands' tab and am looking in the list under the 'Context Menu:' dropdown, but I can't figure out which menu it is?
Does anyone know?
Other Context Menus | Workspace Context Menu works for items in Solution Explorer's Folder View. I don't know how you could limit an entry to just the root folder.

Visual Studio --> Copy a selected control name to clipboard

It is a pain to pick a button name from the "Properties" grid window or even from "Document Outline" window
I want something like :
Right click a button or any other control in a form then from the context menu choose --> "Copy Name"
or a Shortcut key to copy the control name to clipboard
can I have a macro to do that inside visual studio 2010
or is there extension to do that ??
any idea ??
Edit:
CompCopy extension but for Visual Studio 2017 not Visual Studio 2010
As you can see from the shortcut list, there's no such a thing; but you can do it almost as easily as you said:
From the properties window, click the "AZ" button to sort your properties alphabetically; (Name), i.e. the name of the control, will be the third from the top and will stay that way
Click the control you want to copy the name of, e.g. a button
Press F4 to select the property window, where the name will be there for you to copy

How to remove elements from the context menu in Visual Studio

How to remove elements from the context menu in Visual Studio? I am not using all of this items, how can I still just some of them?
In Visual Studio 2017 this procedure will work:
Open "Tools" menu
Click "Customize..."
Click the "Commands" tab
Click the "Context menu" radiobutton
From the combobox on the right select the context menu you want to change
Now you should have the following dialog showing where you can remove/add items from the context menu:

Adding context menu for VS 2010 Add-In on loading

I'm creating an Add-In for Visual Studio 2010.
I want to add the context menu item to the tab during Add-In loading
(in OnConnect method of the Add-In):
I do know how to add the menus using CommandBars.
I already added commands into "Tools" and "Solution Explorer" menus.
I just cannot find the CommandBar responsible for the menu, I need.
Can anybody help me?
Solution found.
You can enable logging of chosen menus.
Details:
http://blogs.msdn.com/b/dr._ex/archive/2007/04/17/using-enablevsiplogging-to-identify-menus-and-commands-with-vs-2005-sp1.aspx
http://blogs.msdn.com/b/dr._ex/archive/2007/04/17/using-ivsproffercommands-to-retrieve-a-visual-studio-commandbar.aspx

Visual Studio 2010 crashes and unable to customize context menus

I'm trying to customize code window (Editor context menu | Code window) context menu in my VS 2010 Ultimate and there is no elements for edit there http://habreffect.ru/files/56f/cc371d8a9/Capture.png (In real context menu all the elements are exists, also elements are exists for most other menus in customize window) and VS crashes when i'm trying to add new menu
I have tried to reset all the menus in the customize window but this trouble appears again in a few days. This problem appears on both my PC and my laptop.
I suggest you send Microsoft a bug-report, at Microsoft Connect.

Resources