Open hcasanova72 opened 1 year ago
Hi, I'm doing it in the Solution Explorer in Folder View.
Cheers!
From: Michael Hofer @.> Sent: martes, 28 de marzo de 2023 15:45 To: madskristensen/FileDiffer @.> Cc: hcasanova72 @.>; Author @.> Subject: Re: [madskristensen/FileDiffer] Compare option not showing in folder view (Issue #33)
When you say, "Open a folder", are you doing this in File Explorer or Solution Explorer?
- Reply to this email directly, view it on GitHubhttps://bra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmadskristensen%2FFileDiffer%2Fissues%2F33%23issuecomment-1487434047&data=05%7C01%7C%7C7d1bf993fcad4c768e6b08db2fbc9afe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156259336442726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=paB7qeZF4yDEp8cPx35DJB%2B1WeB2P3qKaORF1UyC0vs%3D&reserved=0, or unsubscribehttps://bra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEFFVZMOG7WYSWCZ5PW6FQLW6MWUTANCNFSM6AAAAAAVGA65QM&data=05%7C01%7C%7C7d1bf993fcad4c768e6b08db2fbc9afe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156259336442726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R4Wrkhp000tEzQaXp7GY4pcUKh11oudkRivYsiMX6KQ%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
I see this same issue. When solution explorer is in folder view (says "Solution Explorer - Folder View" as the title instead of just "Solution Explorer") the menu for doing compare isn't available.
For normal things that open as solutions like a solution that includes c# projects this isn't really much of an issue as I don't really need folder view but some things are just a bunch of config files in a folder that aren't in a solution.
My guess (I never worked on any vs.net addins) is this needs an extra item to add the compare menu: FileDiffer/src/VSCommandTable.vsct
<Menus>
<Menu guid="guidDiffFilesCmdSet" id="FlyoutMenu" priority="100" type="Menu">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_ITEM_SCC"/>
<Strings>
<ButtonText>Compare</ButtonText>
</Strings>
</Menu>
<Menu guid="guidDiffFilesCmdSet" id="EditorFlyoutMenu" priority="100" type="Menu">
<Parent guid="GitPackage" id="GitEditorContextGroup"/>
<Strings>
<ButtonText>Compare</ButtonText>
</Strings>
</Menu>
</Menus>
but searching for what possible values to use for Parent isn't coming up with much. I would have hoped there would be a list of possible value and what menus they are for. Also might not know where to look as I don't see much here: https://learn.microsoft.com/en-us/visualstudio/extensibility/internals/guids-and-ids-of-visual-studio-commands
And the guid for git isn't showing up the sdk file
The "Compare" option does not shows when working in folder view
Steps to reproduce the behavior:
Expected behavior The "Compare" option should be displayed
Screenshots