-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add button to view the formatting document to the syntax visualizer #11463
Add button to view the formatting document to the syntax visualizer #11463
Conversation
I'm guessing you saw and read through https://learn.microsoft.com/en-us/visualstudio/extensibility/combo-element?view=vs-2022 |
@@ -31,6 +31,7 @@ internal class SyntaxVisualizerToolWindow : ToolWindowPane | |||
private const int CmdIdShowAllTagHelpers = 0x0113; | |||
private const int CmdIdShowInScopeTagHelpers = 0x0114; | |||
private const int CmdIdShowReferencedTagHelpers = 0x0115; | |||
private const int CmdidShowFormattingDocument = 0x0117; |
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.
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.
Oh, lol, I used that is to try to get a dropdown working, but the vsct magic eluded me. I will update :)
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.
There's no magic! VS is just GUIDs and ints all the way down. 😁
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.
I didn't try a combo, but I tried a menu and followed the instructions to the letter and then gave up :) |
Figured this might come in handy, possibly for some specific date in the next 2 weeks.
I tried to make a drop down button instead of just adding a new button, and I couldn't work out how to do it :(