-
-
Notifications
You must be signed in to change notification settings - Fork 147
Remove inclusion of context menu in all documents #460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
06f1c19
43b8f4c
c153efe
3f88ad0
6d704db
7e15d39
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,12 +35,6 @@ | |
| <Group guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerMenu" priority="0x0001"> | ||
| <Parent guid="GuidVisualStudioXAMLWindowContextMenu" id="IDVisualStudioXAMLWindowContextMenu"/> | ||
| </Group> | ||
| <Group guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerMenu" priority="0x0001"> | ||
| <Parent guid="GuidVisualStudioXamarWindowContextMenu" id="IDVisualStudioXamarinWindowContextMenu"/> | ||
| </Group> | ||
| <Group guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerContextDocumentTabGroup" priority="0x0100"> | ||
| <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_EZDOCWINTAB" /> | ||
| </Group> | ||
|
|
||
| <Group guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerContextSolutionNodeGroup" priority="0x0100"> | ||
| <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE" /> | ||
|
|
@@ -133,9 +127,6 @@ | |
| <CommandPlacement guid="GuidXamlStylerMenuSet" id="CommandIDFormatXamlFile" priority="0x0100"> | ||
| <Parent guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerMenu" /> | ||
| </CommandPlacement> | ||
| <CommandPlacement guid="GuidXamlStylerMenuSet" id="CommandIDFormatXamlFile" priority="0x0200"> | ||
| <Parent guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerContextDocumentTabGroup" /> | ||
| </CommandPlacement> | ||
|
|
||
| <CommandPlacement guid="GuidXamlStylerMenuSet" id="CommandIDFormatAllXaml" priority="0x0200"> | ||
| <Parent guid="GuidXamlStylerMenuSet" id="GroupIDXamlStylerContextSolutionNodeGroup" /> | ||
|
|
@@ -179,7 +170,6 @@ | |
| <!-- Visibility Constraints --> | ||
| <VisibilityConstraints> | ||
| <VisibilityItem context="GuidVisualStudioXAMLWindowContextMenu" guid="GuidXamlStylerMenuSet" id="CommandIDFormatXamlFile"/> | ||
| <VisibilityItem context="GuidVisualStudioXamarWindowContextMenu" guid="GuidXamlStylerMenuSet" id="CommandIDFormatXamlFile"/> | ||
| </VisibilityConstraints> | ||
|
|
||
| <!-- Keyboard Shortcuts --> | ||
|
|
@@ -209,9 +199,6 @@ | |
| <GuidSymbol name="GuidVisualStudioXAMLWindowContextMenu" value="{4C87B692-1202-46AA-B64C-EF01FAEC53DA}"> | ||
| <IDSymbol name="IDVisualStudioXAMLWindowContextMenu" value="0x0103" /> | ||
| </GuidSymbol> | ||
| <GuidSymbol name="GuidVisualStudioXamarWindowContextMenu" value="{D309F791-903F-11D0-9EFC-00A0C911004F}"> | ||
| <IDSymbol name="IDVisualStudioXamarinWindowContextMenu" value="0x040D" /> | ||
| </GuidSymbol> | ||
|
|
||
| <!-- This is the package guid. --> | ||
| <GuidSymbol name="GuidXamlStylerPackage" value="{a224be3c-88d1-4a57-9804-181dbef68021}" /> | ||
|
|
@@ -235,9 +222,6 @@ | |
| <IDSymbol name="GroupIDXamlStylerContextCrossProjectMultiSolutionFolderGroup" value="0x105a" /> | ||
| <IDSymbol name="GroupIDXamlStylerContextCrossProjectMultiProjectFolderGroup" value="0x105b" /> | ||
|
|
||
| <!-- This is the command set for the document tab context menu --> | ||
| <IDSymbol name="GroupIDXamlStylerContextDocumentTabGroup" value="0x1070" /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, missed this comment previously.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is ideally filtered to xaml (and axaml) files. |
||
|
|
||
| <!-- These are the symbols for the individual commands --> | ||
| <IDSymbol name="CommandIDFormatXamlFile" value="0x0100" /> | ||
| <IDSymbol name="CommandIDFormatAllXaml" value="0x0200" /> | ||
|
|
||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NicoVermeir do you recall why we added these Xamarin-specific entries? Are they still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they were there for AXAML support :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
somehow I completely missed this comment, sorry about that! that entry was there because Xamarin, even though it has .xaml extension, didn't use the XAML editor window but the XML editor. XAML Styler didn't show up in the right-click menu because of that, this entry fixed that