Hide items in the right-click context menus in Visual Studio 2010 (08)?

Lasse V. Karlsen picture Lasse V. Karlsen · Mar 15, 2011 · Viewed 14.1k times · Source

The right-click context menus of the source editor, the project items and the solution item, is getting ridiculously long, and two of them even have scrolling now on my 1680x1050 screen.

Is there any way for me to hide items on these menus, even if I have to add an event to my Visual Studio macro-system and find and hide them manually?

Here's examples, many of these items I never use:

context menus

Edit1: The current answer + comments suggest I should use the Customize menu item in the toolbar context menus, go to the second tab, Commands, and use the Context Menus radio selection and find the relevant menus there.

Here are 3, which are suggested by comments:

customize context menus

As you can see, they're all empty.

Edit2: After clicking the "Reset All" button in that dialog, for the Solution and Project menus, I got items in the dialog, that I could edit, but the changes did not affect the actual context menu on either a project or the solution file. Also, after restarting Visual Studio, the dialog contents for those two were again empty.

Answer

CodeNaked picture CodeNaked · Mar 15, 2011

In Visual Studio 2010 you can:

  1. Goto Tools->Customize
  2. Select the Commands tab
  3. Select the Context menu radio button
  4. Select the appropriate context menu from the dropdown list to the right, and delete away

I believe Visual Studio 2008 is similar.