Skip to content

Github copilot extension button #504

Closed Answered by reduckted
pbanosdev asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Copilot has the advantage of being built in to Visual Studio rather than being an extension like one that you or I can create. That means it can put buttons and icons and other things in places that an ordinary extension cannot. If you really want to put a button in that location or somewhere similar, take a look at #499 where I explained how it can be done (I wouldn't recommend doing it though)
  2. Because it's not a regular toolbar button, it can be whatever size it wants. I haven't looked at what WPF elements it's using, but I imagine it would be a CrispImage.
  3. For an example of how to show a context menu, take a look at this PR: madskristensen/DocumentMargin#2

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pbanosdev
Comment options

Answer selected by pbanosdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants