jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.83k stars 187 forks source link

VS Code terminal somehow start devbox shell #2120

Open mortum5 opened 1 month ago

mortum5 commented 1 month ago

What happened?

Found strange behavior when running VS Code via code. in the devbox shell. In each new VS Code window when opening the integrated terminal, it will launch with the devbox shell regardless of the repository directory.

Steps to reproduce

  1. Start devbox shell in first repo
  2. Start VS code using code . in first repo
  3. Open new window and choose another repo
  4. Open integrated terminal in VS code

Command

No response

devbox.json

No response

Devbox version

0.11.0

Nix version

No response

What system does this bug occur on?

macOS (Apple Silicon)

Debug logs

No response

mohsenari commented 1 month ago

Hi @mortum5 thisnkight be due to Devbox's VSCode extension. You can turn this off by checking off the Devbox: Auto Shell on Terminal in vscode settings