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

refactor: xterm suggestion addon into terminalContrib #200107

Conversation

cpendery
Copy link
Member

@cpendery cpendery commented Dec 6, 2023

Description

This PR refactors the SuggestAddon for the terminal into a terminalContrib to remove any dependencies of the terminal on the suggestion model

Testing

  • still provides suggestions when enabled and doesn't when disabled.

Part of #154662

Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
@cpendery cpendery marked this pull request as ready for review December 6, 2023 04:31
@cpendery
Copy link
Member Author

cpendery commented Dec 6, 2023

@Tyriar for review

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

Looks great! 👏

Comment on lines +329 to +330
private readonly _onDidSendText = this._register(new Emitter<string>());
readonly onDidSendText = this._onDidSendText.event;
Copy link
Member

Choose a reason for hiding this comment

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

We can combine this with onDidInputData, I'll handle this in #200242

@Tyriar Tyriar added this to the December 2023/January 2024 milestone Dec 7, 2023
@Tyriar Tyriar enabled auto-merge December 7, 2023 14:05
@Tyriar Tyriar merged commit 66c869c into microsoft:main Dec 7, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants