-
I am using The commands sent to the terminal are executed after a while as in the below video. This is especially troublesome when actually debugging / running a file as the first command is not run (venv doesn't get activated at all). This behaviour is shown below. See that in the video below the venv doesn't get activated at all. This is still the issue on a older version of vscode and extensions and it vanishes when disabling ble.sh. It was not an issue until recently and was working perfectly fine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 21 replies
-
Is that caused by changes in As far as I see this, VS Code seems to send This seems like an issue with the VS Code (or the related plugin). It should activate the virtual environment through |
Beta Was this translation helpful? Give feedback.
-
I took a look into the behavioral difference that I observed in #524 (reply in thread).
It turned out to be caused by the VS shell integration. When one calls However, your issue seems to be unrelated to this one because you reported that you don't have |
Beta Was this translation helpful? Give feedback.
Just did a bit more fiddling with the vscode configuration and it seems like the issue is indeed with the shell-integration breaking things. (They even mentioned that it breaks in complex situations)
https://code.visualstudio.com/docs/terminal/shell-integration#_automatic-script-injection
Now disabling the automatic loading of shell integrations and loading it manually seems to resolve the issue completely.
It is also the same if I completely disable the shell integration via the
terminal.integrated.shellIntegration.enabled
setting.EDIT: Even after manually loading the shell-integration, it does not work at all with ble.sh. This is a completely different issue and VSCode cannot identify…