Skip to content

[BUG] Open with VS Code doesn't open into the WSL file system #292

@stamminator

Description

@stamminator

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Clicking "Open with VS Code" on my WSL instance does open VS Code, but just as an empty window and not in the WSL file system.

Image

Minor issue: it would also be nice if the console window that opens when you click Open with VS Code were hidden, or at least exits automatically after launching VS Code.

Expected Behavior

I'm assuming "Open with VS Code" should do the same thing as when you run code $HOME in WSL, but correct me if I'm wrong.

Steps To Reproduce

No response

Environment

- Windows Version: Windows 11 24H2 (26100.7171)
- WSL Distro Manager Version: 1.10.0
- WSL Version: 2.5.9.0
- Source: GitHub release zip file

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions