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

make sure shellIntegration.cwd is set for reconnected terminals, fix bug for terminal suggest #239148

Closed
wants to merge 2 commits into from

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Jan 29, 2025

Fix #239027
fix #234672

Here is the key line, where we now pass in the cwd that gets set via reconnection properties to the shellIntegrationAddon such that when command detection gets created, if the cwd detection has not been created yet (IE cwd has not been updated), we will create that and update its value.

initialCwd: this.shellLaunchConfig.attachPersistentProcess?.cwd,

Recording 2025-01-29 at 16 13 09

@meganrogge meganrogge requested a review from Tyriar January 29, 2025 22:06
@meganrogge meganrogge self-assigned this Jan 29, 2025
@meganrogge meganrogge added this to the January 2025 milestone Jan 29, 2025
@meganrogge meganrogge enabled auto-merge (squash) January 29, 2025 22:19
@meganrogge
Copy link
Contributor Author

Closing in favor of #239238 now that I figured out how reconnection for the capabilities occurs.

@meganrogge meganrogge closed this Jan 30, 2025
auto-merge was automatically disabled January 30, 2025 17:22

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants