-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 a few vscode menu contribution points #13226
Conversation
I would be happy to help for review here |
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.
Thanks for your contribution, @jonah-iden!
I have some issues with the sample extension provided on vsx extensions and terminal titles, could you have a look?
packages/terminal/src/browser/terminal-frontend-contribution.ts
Outdated
Show resolved
Hide resolved
d508b5e
to
7e47b82
Compare
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.
That looks good to me, thanks for the contribution. I only have 2 minors comments, but otherwise, provided extension point work as expected.
Signed-off-by: Jonah Iden <[email protected]>
…tion points Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
…mands Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
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 good to me now! Thanks @jonah-iden!
d4ea32a
to
1f7f778
Compare
What it does
implements parts of #13051
specificly:
since Theias terminals are there own tabs, the last contribution is implemented when right clicking on the tab title.
The others should be at the same place they are in vscode
How to test
Here is a test extension (inlucluding vsix) which adds a menu entry to all of theias missing contribution points.
extension/context
can be found when clicking the cog wheel (or right clicking) on an extension in the Extension widgetterminal/context
can be found when right clicking inside a terminalterminal/title/context
can be found when right clicking the tab title of a terminalim not too happy with having the menu path
['extensions_context_menu', '3_contribution']
duplicated. If you have an idea where to place the constant for this i'd be happy to implement it.Follow-ups
Review checklist
Reminder for reviewers