Skip to content

Conversation

@apgrucza
Copy link
Contributor

Summary

Fixes #1319 - the "Reopen in Devbox shell environment" command does not work in a VS Code WSL window

How was it tested?

Tested on Windows (WSL), Linux and MacOS. In Windows, the WSL VS Code extension must be installed, and the test project must reside in WSL.

  1. Build Devbox and place it in the PATH
  2. Run VS Code
  3. Open a project that has a devbox.json file at the root
  4. In a Terminal window, verify that the packages in devbox.json are not executable (not in the PATH)
  5. Open the command palette and select "Devbox: Reopen in Devbox shell environment"
  6. Verify that the VS Code window closes, and a new VS Code window is opened for the same project.
  7. In a Terminal window, exit out of any Devbox shells and verify that the packages in devbox.json are executable.

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

@mohsenari
Copy link
Collaborator

Hey @apgrucza this is great! Thanks for adding it. In the next couple of days, I will review and test it on my end and if everything's ok, I'll update the extension docs and release a new version with this included.

Copy link
Contributor

@Lagoja Lagoja left a comment

Choose a reason for hiding this comment

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

Verified that this works on Windows + WSL! Thanks @apgrucza, amazing work

@Lagoja Lagoja merged commit 4ba6fce into jetify-com:main Oct 27, 2025
72 of 85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: VS Code extension: "Reopen in Devbox shell environment" command does not work in WSL

3 participants