Skip to content

Convert shell cwd to URI on the exthost, add ITerminalInstance.getCwdResource #252642

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

Merged
merged 3 commits into from
Jun 27, 2025

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jun 27, 2025

Fixes #252307
Fixes #235331

  • Passes terminal cwd to the exthost and handles the conversion there - this allows it to be handled synchronously (and unvalidated) on the exthost
  • Add new ITerminalInstance.getCwdResource with tests for the future
  • Rename ITerminalInstance.getCwd to getSpeculativeCwd to better indicate what that does

@Tyriar Tyriar added this to the June 2025 milestone Jun 27, 2025
@Tyriar Tyriar self-assigned this Jun 27, 2025
@Tyriar Tyriar requested a review from meganrogge June 27, 2025 13:49
meganrogge
meganrogge previously approved these changes Jun 27, 2025
@Tyriar Tyriar marked this pull request as draft June 27, 2025 14:22
@Tyriar Tyriar marked this pull request as ready for review June 27, 2025 14:32
@Tyriar Tyriar enabled auto-merge June 27, 2025 14:32
@Tyriar Tyriar changed the title Convert shell cwd to URI on the exthost Convert shell cwd to URI on the exthost, add ITerminalInstance.getCwdResource Jun 27, 2025
@Tyriar Tyriar merged commit 663a161 into main Jun 27, 2025
8 checks passed
@Tyriar Tyriar deleted the tyriar/252307 branch June 27, 2025 14:51
lszomoru pushed a commit that referenced this pull request Jun 30, 2025
Convert shell cwd to URI on the exthost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't trigger rich completions for fish shell under WSL [terminal completions]: broken in bash/zsh on Unix /WSL
2 participants