Multi-root workspace: "Python: Run Selection/Line in Python Terminal" sends selection to wrong workspace Python Terminal #18674
Labels
area-terminal
community ask
Feature request that the community expressed interest in
feature-request
Request for new features or functionality
needs community feedback
Awaiting community feedback
Issue Type: Bug
Behaviour
Expected vs. Actual
Expected
Actual
Steps to reproduce:
This is demonstrate the issue with sending the selection to the wrong workspace Python Terminal.
{"folders": [...]}
.Python: Start REPL
works for both workspace, so that you have a differentcwd
& different Python packages and/or Python versions.Python: Run Selection/Line in Python Terminal
import ...
for a package that was install in workspace B but not A.Python: Run Selection/Line in Python Terminal
Python: Run Selection/Line in Python Terminal
Diagnostic data
python.languageServer
setting: PylanceUser Settings
Extension version: 2022.2.1924087327
VS Code version: Code 1.65.1 (8908a9ca0f221f36507231afb39d2d8d1e182702, 2022-03-08T02:20:04.372Z)
OS version: Darwin arm64 21.2.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: