forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
python.execSelectionInTerminal not working in 2025.20.1 #25694
Copy link
Copy link
Closed
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmation pendingThe issue needs to be confirmed through a maintainer reproducing the bug.The issue needs to be confirmed through a maintainer reproducing the bug.info-neededIssue requires more information from posterIssue requires more information from poster
Metadata
Metadata
Assignees
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmation pendingThe issue needs to be confirmed through a maintainer reproducing the bug.The issue needs to be confirmed through a maintainer reproducing the bug.info-neededIssue requires more information from posterIssue requires more information from poster
Type: Bug
Behaviour
shift + enter command used for python.execSelectionInTerminal will open a python terminal, but not send the code
No error is printed out, nothing happens except opening the python terminal.
Used "Developer: Toggle Keyboard Shortcuts Troubleshooting" to confirm that
the command "python.execSelectionInTerminal" was being triggered to confirm it is not an issue with an overlapping keyboard shortcut. Output: 2025-12-22 09:43:15.057 [info] [Window] [KeybindingService]: + Invoking command python.execSelectionInTerminal.
I was able to get the functionality of shift+enter running the command back after switching to 2025.20.0
Steps to reproduce:
Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.20.0
VS Code version: Code 1.107.1 (Universal) (994fd12f8d3a5aa16f17d42c041e5809167e845a, 2025-12-17T14:15:14.850Z)
OS version: Darwin arm64 24.6.0
Modes:
python.languageServersetting: DefaultUser Settings
Installed Extensions