如何自定义 Visual Studio 解决方案资源管理器右键菜单选项? [英] How to customize Visual Studio Solution Explorer right click menu options?

查看:95
本文介绍了如何自定义 Visual Studio 解决方案资源管理器右键菜单选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我记事起,我就一直在使用 Visual Studio.多年来,每个新版本都出现了越来越多的选项添加到解决方案资源管理器中的右键单击上下文菜单的趋势.在 99% 的情况下,我只使用了这些上下文菜单选项中的 5%.我想知道是否可以从上下文菜单中删除项目?

例如:

打开Visual Studio->创建解决方案->向其中添加项目->在解决方案资源管理器中找到该项目->右键单击该项目->观察大量的右键菜单选项.

我目前在 C# 构建环境中使用 Visual Studio 2019 CE.

解决方案

您可以从项目上下文菜单中删除项目,转到工具 - 自定义 - 命令 - 上下文菜单 - 项目和解决方案上下文菜单 |项目:

I've been using Visual Studio since further back then I can remember. Over the years, each new release saw a trend of an ever-growing number of options added to the right-click context menu in the Solution Explorer. 99% of the time I use only 5% of these context menu options. I would like to know if it is possible to remove items from the context menu?

For example:

Open Visual Studio->Create a Solution->Add a project to it->Find the project in the Solution Explorer->Right click on the project->Observe a large number of right-click-menu options.

I'm currently using Visual Studio 2019 CE with a C# build environment.

解决方案

You can delete items from the project context menu going to Tools - Customize - Commands - Context menu - Project and Solution Context Menus | Project:

这篇关于如何自定义 Visual Studio 解决方案资源管理器右键菜单选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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