Closed as duplicate of#24373
Description
Testing #24747
Version: 1.97.0-insider
Commit: 3250a26
Date: 2025-01-29T05:04:50.952Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 5.15.0-130-generic
There's something fishy about the activation of shell integration. For the longest time I didn't see the Python shell integration as described in #24747.
Then suddenly it appeared, for no apparent reason.
Here is some observation
- run VS Code with a new profile
- set
"python.terminal.shellIntegration.enabled": true,
- open a terminal and hover over the `bash' terminal. You can see that there's one shell integration 'git'
- install python (prerelease), this should add two more shell integration
- right after installing, the terminal does not show anything
- open a python file, now they are added
-> looks like the python extension needs an activation point so that it is activated on startup and can contribute the integration?
- set
"python.terminal.shellIntegration.enabled": false,
- the terminal keep showing the 'Python; shell integration
- reloading window, killing terminal doesn't help, 'Python`; keeps showing
- uninstalling and installing the extension helps
- set
"python.terminal.shellIntegration.enabled": true,
- uninstall python, install python and opening a python file is needed