Skip to content

Incorrect paths in Windows Subsystem for Linux #98

@jezpipkin

Description

@jezpipkin

This has been working fine until updating VS Code last week.

In Windows I have
C:\git\test\aa and C:\git\test\bb

I open C:\git\test in VSCode in Windows, select aa and compare bb with no problem

I open /mnt/c/git/test in VSCode in WSL, select aa and compare bb, error 'The left path "\mnt\c\git\test\aa" does not exist.'

\ looks the wrong way round, but if I change the paths to /mnt/c/git/test/aa etc, the error persists.

If I browse for the folders in Diff Folders, the path shows as /mnt/c/git/test/, I select aa, the path shows as /mnt/c/git/test/aa, click ok, and it has switched to \mnt\c\git\test\aa , and the error persists.

If I edit the paths to Windows paths, effectively change \mnt\c\ to c:\, it works, so it's usable still but some of the convenience has gone.

(it's also working ok in Linux, just this odd thing with WSL)

And thanks for making this available, I use it daily, it's very much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions