-
Notifications
You must be signed in to change notification settings - Fork 686
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
Type: Bug
File URIs are wrong when you have a multiple root workspace.
For example:
I have a workspace with roots A an B and a PR for root B
- A (master)
- B (PR branch)
When I open a file from the PR branch the vscode-userdata URI for the non-local file contains the path with root A.
URIs of both files in diff view:
file:///home/username/B/file.pngvscode-userdata:/home/username/.config/Code/User/globalStorage/github.vscode-pull-request-github/temp/A/filename.png
I'd expect the vscode-userdata file to have B in the root path instead of A:
vscode-userdata:/home/username/.config/Code/User/globalStorage/github.vscode-pull-request-github/temp/B/filename.png
I've only checked with image files, but I assume this could happen with other files as well.
Extension version: 0.94.0
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Linux x64 5.14.0-1048-oem
Modes:
Copilot
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug