Skip to content

recent_projects: Check for WSL paths in OpenFolderInWsl#49156

Merged
Veykril merged 1 commit intozed-industries:mainfrom
maximxlss:fix_check_wsl_paths_in_open_folder_in_wsl_2
Feb 14, 2026
Merged

recent_projects: Check for WSL paths in OpenFolderInWsl#49156
Veykril merged 1 commit intozed-industries:mainfrom
maximxlss:fix_check_wsl_paths_in_open_folder_in_wsl_2

Conversation

@maximxlss
Copy link
Contributor

Closes #42842

Previously, OpenFolderInWsl action assumed a valid path is on the host and failed to open paths inside the WSL filesystem (accessed through UNC)

Now the action checks for a WSL path and opens it with the appropriate distro (skipping the choice modal)

This was manually confirmed to not regress as well as work with WSL paths.

Code was written by hand, with extra checking by OpenAI Codex.

Release Notes:

  • Fixed paths inside the WSL filesystem failing to open when using "open folder in wsl"

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 14, 2026
@zed-community-bot zed-community-bot bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label Feb 14, 2026
@maxdeviant maxdeviant changed the title fix: check for WSL paths in OpenFolderInWsl recent_projects: Check for WSL paths in OpenFolderInWsl Feb 14, 2026
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

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

Thanks!

@Veykril Veykril self-assigned this Feb 14, 2026
@Veykril Veykril enabled auto-merge (squash) February 14, 2026 08:10
@Veykril Veykril merged commit c932dd1 into zed-industries:main Feb 14, 2026
38 checks passed
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
Closes #42842

Previously, OpenFolderInWsl action assumed a valid path is on the host
and failed to open paths inside the WSL filesystem (accessed through
UNC)

Now the action checks for a WSL path and opens it with the appropriate
distro (skipping the choice modal)

This was manually confirmed to not regress as well as work with WSL
paths.

Code was written by hand, with extra checking by OpenAI Codex.

Release Notes:

- Fixed paths inside the WSL filesystem failing to open when using "open
folder in wsl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: "projects: open folder in wsl" doesn't work but is equivalent to other ways that do work

2 participants