Project-system: Project System: Add Item menu support for Winforms and WPF

Created on 13 May 2016  路  7Comments  路  Source: dotnet/project-system

_From @davkean on January 14, 2016 21:34_

This is tracking Add Item support including WinForms and WPF menu items:

image
image

_Copied from original issue: dotnet/roslyn#7965_

Feature Request Feature-WinForms Feature-XAML Parity-Legacy-Feature Triage-Approved

All 7 comments

In a similar vein to #134, it would be nice if there were an option in VS to disable these framework-specific context menu items. I never use them (I use the add-item dialog instead) and all they do is waste screen real-estate and make the context menu harder to parse.

@MgSam We're looking at two things that will make this better;

  1. We're plan on improving Add Item experience via a most recently used feature: https://github.com/dotnet/roslyn-project-system/issues/104
  2. We're looking to simplify Add Item, so that you don't need to open the dialog to add a class, etc: https://github.com/dotnet/roslyn-project-system/issues/136
  3. We're looking at making the "existence of these menus" entirely based on whether you are using/referencing the technology.

Would that help?

Yes, I think all of that helps, but it still would be nice to toggle off context menu items that I'll never use. Perhaps that's a more general-VS wide feature? Being able to add/remove context menu items in the same way you can with the toolbar?

@MgSam We already have this feature, and have since VS 2010. :)

  1. Tools -> Customize -> Commands
  2. Choose Context menu, pick _Project and Solution Context Menus | Project | Add_
  3. Click the command you want to remove and choose Delete

Whoops! Thanks for the clarification!

We should toggle these menus based on project capabilities https://github.com/dotnet/project-system/issues/4248.

Was this page helpful?
0 / 5 - 0 ratings