Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Jan 11, 2026

Fixes #286974

@Tyriar Tyriar added this to the January 2026 milestone Jan 11, 2026
@Tyriar Tyriar self-assigned this Jan 11, 2026
Copilot AI review requested due to automatic review settings January 11, 2026 08:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to fix an issue with determining whether the current working directory (cwd) folder should be displayed in terminal labels for remote scenarios. The change removes the intermediate URI construction and directly compares the cwd path with the workspace folder's URI path.

Changes:

  • Removes the cwdUri variable construction that was using path.resolve() on the frontend
  • Updates path comparison to directly compare templateProperties.cwd with instance.workspaceFolder.uri.path
  • Adds a comment explaining the rationale for avoiding path.resolve() in remote scenarios

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.

Terminal tabs description/title using cwdFolder shows folder incorrectly in WSL

2 participants