Skip to content

Run Python Selection/Line in Terminal doesn't work. #684

@Piranha688

Description

@Piranha688

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.102.3
  • OS Version: Windows 11

Steps to Reproduce:

I'm on VS Code Version 1.102.3 with Python extension downgraded to version 2025.8.0. This week, I noticed that I can no longer execute line selections in the Python terminal via my specified shortcut. Right-clicking and navigation to "Run Python > Run Selection/Line in Python Terminal" won't work either.

I have already tested downgrading VS Code as well as the Python extension to see if that solves the issue, to no avail. Manually copying code into a Python terminal does work. So does executing a Python file in terminal.

It also works to run code selections in an interactive window. Please help sort out this issue. It is a huge problem when developing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions