隐藏Visual Studio 2010(08)的右键单击上下文菜单中的项目? [英] Hide items in the right-click context menus in Visual Studio 2010 (08)?

查看:109
本文介绍了隐藏Visual Studio 2010(08)的右键单击上下文菜单中的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

源代码编辑器,项目项和解决方案项的右键单击上下文菜单越来越长,而且其中两个甚至现在已经在我的1680x1050屏幕上滚动。

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.

即使我必须向Visual Studio宏系统中添加一个事件并手动查找和隐藏它们,我也可以通过任何方式隐藏这些菜单上的项目吗?

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:

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.

这里是3,通过注释建议的内容:

Here are 3, which are suggested by comments:

如您所见,它们都是空的。

As you can see, they're all empty.

编辑2::在该对话框中单击全部重置按钮后,对于解决方案和项目菜单,我在对话框中得到了一些项目,编辑,但所做的更改不会影响项目或解决方案文件上的实际上下文菜单。另外,在重新启动Visual Studio之后,这两个对话框的对话框内容再次为空。

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.

推荐答案

在Visual Studio 2010中,您可以:

In Visual Studio 2010 you can:


  1. 转到工具->自定义

  2. 选择命令选项卡

  3. 选择上下文菜单单选按钮

  4. 从右侧的下拉列表中选择适当的上下文菜单,然后删除

  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

我相信Visual Studio 2008与之相似。

I believe Visual Studio 2008 is similar.

这篇关于隐藏Visual Studio 2010(08)的右键单击上下文菜单中的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆