theia icon indicating copy to clipboard operation
theia copied to clipboard

Add a few vscode menu contribution points

Open jonah-iden opened this issue 1 year ago • 1 comments

What it does

implements parts of #13051 specificly:

  • extension/context
  • terminal/context
  • terminal/title/context

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 widget terminal/context can be found when right clicking inside a terminal terminal/title/context can be found when right clicking the tab title of a terminal

im 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

jonah-iden avatar Jan 03 '24 09:01 jonah-iden

I would be happy to help for review here

rschnekenbu avatar Jan 10 '24 08:01 rschnekenbu