codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.89k stars 356 forks source link

Installation breaks all custom items in the context menu "Other Context Menus | Easy MDI Document Window" #714

Open DmitrySokolov opened 4 years ago

DmitrySokolov commented 4 years ago

Environment

Description

Installation breaks all custom entries in the context menu "Other Context Menus | Easy MDI Document Window"

Steps to recreate

  1. Call Customize... (from the menu or toolbar)
  2. Add a custom item into "Other Context Menus | Easy MDI Document Window"
  3. Install CodeMaid
  4. Open a file and RighClick on the document tab

Current behavior

There are only CodeMaid items like "Cleanup Open Code". No custom items added earlier.

Expected behavior

All custom items are present

DmitrySokolov commented 4 years ago

Items marked in red were deleted during CodeMain install, so I need to recreate them.

pic1

codecadwallader commented 4 years ago

Thanks for reporting the issue. Extensions provide a list of context menu options to add through .vsct files and after that point the IDE is what determines how to bring/merge them together. I'm not sure if there's something we can do to change the behavior you've seen since it's a part of the IDE implementation and not CodeMaid's implementation. It may be more helpful in this case to report the issue to Microsoft since the menu system is within their control if you would like to do that?