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

support Pseudoterminal.onDidChangeName #11657

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

EstFoisy
Copy link
Contributor

@EstFoisy EstFoisy commented Sep 9, 2022

What it does

Closes #11513
Adds support for the Pseudoterminal.onDidChangeName VS Code API.

How to test

  1. include the following extension (pseudoterminal-name-0.0.1.vsix.zip) in your application.
  2. Execute the command "Pseudoterminal: Test Name".
  3. The extension will spawn a pseudoterminal with a name of "Initial Name" and will update to "Updated Name" using 'onDidChangeName'.

Review checklist

Reminder for reviewers

Implement support for Pseudoterminal.onDidChangeName VS Code API by
listening to this event on the plugin side and updating Theia's terminal
widget's title accordingly.
@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Sep 12, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to @paul-marechal's comments, I have some minor ones related to the formatting of the documentation. I confirmed that the functionality works as expected.

packages/plugin-ext/src/common/plugin-api-rpc.ts Outdated Show resolved Hide resolved
packages/plugin-ext/src/common/plugin-api-rpc.ts Outdated Show resolved Hide resolved
@vince-fugnitto vince-fugnitto added the terminal issues related to the terminal label Sep 12, 2022
EstFoisy and others added 3 commits September 12, 2022 10:34
Co-authored-by: Paul Maréchal <paul.marechal@ericsson.com>
Co-authored-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Co-authored-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 The changes look good, and work well with the provided plugin.
I can see that the initial terminal name is displayed, and updated properly.

@vince-fugnitto vince-fugnitto merged commit 2289366 into eclipse-theia:master Sep 14, 2022
@vince-fugnitto vince-fugnitto added this to the 1.30.0 milestone Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal issues related to the terminal vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vscode] Support optional Pseudoterminal.onDidChangeName
3 participants