Switch over to executeCommand from sendText #24078
Merged
anthonykim1 merged 37 commits intomicrosoft:mainfrom Sep 12, 2024
Merged
Switch over to executeCommand from sendText #24078anthonykim1 merged 37 commits intomicrosoft:mainfrom
anthonykim1 merged 37 commits intomicrosoft:mainfrom
Conversation
| @@ -146,9 +146,13 @@ export class SynchronousTerminalService implements ITerminalService, Disposable | |||
| lockFile.dispose(); | |||
| } | |||
| } | |||
Member
There was a problem hiding this comment.
We should use less of these services when possible.
…dTerminalShellExecution
karthiknadig
requested changes
Sep 11, 2024
| await initialize(); | ||
| return undefined; | ||
| }); | ||
| // TODO: This test is being flaky for windows, need to investigate why only fails on windows |
Member
There was a problem hiding this comment.
Do we have a debt item for this? and also for the TODO to change how terminal is saved.
Author
karthiknadig
requested changes
Sep 12, 2024
Member
karthiknadig
left a comment
There was a problem hiding this comment.
some minor things to change
karthiknadig
previously approved these changes
Sep 12, 2024
karthiknadig
previously approved these changes
Sep 12, 2024
karthiknadig
approved these changes
Sep 12, 2024
anthonykim1
added a commit
to anthonykim1/vscode-python
that referenced
this pull request
Sep 13, 2024
Resolves: microsoft#23929 TODO: (debt --> in separate PR) Have ensureTerminal return Promise<Terminal> instead of Promise<void> and saving this in the TerminalService class. Would avoid many uses of the !, and maybe even get to throw away the TerminalService class itself.
anthonykim1
added a commit
to anthonykim1/vscode-python
that referenced
this pull request
Sep 15, 2024
Resolves: microsoft#23929 TODO: (debt --> in separate PR) Have ensureTerminal return Promise<Terminal> instead of Promise<void> and saving this in the TerminalService class. Would avoid many uses of the !, and maybe even get to throw away the TerminalService class itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #23929
TODO: (debt --> in separate PR) Have ensureTerminal return Promise instead of Promise and saving this in the TerminalService class. Would avoid many uses of the !, and maybe even get to throw away the TerminalService class itself.