Skip to content
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

Allow changing commands for inbuilt UI buttons for VSCode terminal #153439

Closed
hpgupt opened this issue Jun 28, 2022 · 1 comment
Closed

Allow changing commands for inbuilt UI buttons for VSCode terminal #153439

hpgupt opened this issue Jun 28, 2022 · 1 comment
Assignees
Labels
*out-of-scope Posted issue is not in scope of VS Code

Comments

@hpgupt
Copy link

hpgupt commented Jun 28, 2022

I am developing an extension where I am creating a custom VSCode Terminal from the extension, for the delete/kill terminal button (trashcan icon) that appears on every terminal, I want to execute my own function when that trashcan icon is clicked, is there a way to override existing command ? I can't use the onTerminalClose listener as it runs when vscode closes too, which I don't want. If this can't be done is there a way to provide additional UI buttons for a VSCode terminal ?
image

@Tyriar
Copy link
Member

Tyriar commented Jun 29, 2022

We may allow the ability for extensions to contribute to the UI in the future, but no plans currently. #9285 would need to be handled first so if extensions add many actions they can be hidden manually. There is also #79034 which is similar.

@Tyriar Tyriar closed this as completed Jun 29, 2022
@Tyriar Tyriar added the *out-of-scope Posted issue is not in scope of VS Code label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

3 participants