-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Ability to contribute context menu entries for Terminal #79034
Comments
(Experimental duplicate detection) |
I guess |
Adding to October to discuss, this won't be implemented in October. |
Brought up in API sync today, approved to go ahead for a proposed API using |
Looking forward to using this for an extension, thanks for moving it forward. Might it be possible to include context menu contribution points for Also, is support for passing or accessing currently selected text in those views possible? |
That would need to be separate feature requests.
That's not the current thinking. Could be useful though... |
I'd like to work on this. |
@Kingwl sounds good 👍 I haven't actually dealt with adding something like this yet so I would search the codebase for similar context menu contributions for other components like the explorer. |
I would add, also, that menu support ought to be available for +1 to extend this to output, problem, etc. as per @nickyhajal's suggestion. My extension makes extensive use of system commands via the terminal that tie user work via editors to a CLI based program. A particular terminal is associated with a particular operation/goal, which may have various other VS Code commands associated with it. There's currently no decent way to tie commands to that terminal/operation. It seems that the menu facility that's widely available in other areas (editors, explorer, source code, etc.) is painfully missing for terminals, output, problems, etc. |
- Adds the API - Consolidates the editor and view terminal menus - Removes the Show Tabs entry as tabs are very old now Part of #79034
- Adds the contribution - Consolidates inline tab and tab list menu - Renamed '...Instance' commands to be less ambiguous Part of #79034
This is done and TPI is created, so moving this to next iteration |
I want to contribute menu items for Terminal. Doesn't look like it's possible now:
https://code.visualstudio.com/api/references/contribution-points#contributes.menus
The text was updated successfully, but these errors were encountered: