Skip to content

Test: PyREPL controllable via Python shell integration setting #25337

@anthonykim1

Description

@anthonykim1

Refs: #25240

Complexity: 2

Create Issue


Thanks in advance for testing.

Background Information

PyREPL is REPL available by default in Python >=3.13
We now allow user to toggle PyREPL on/off depending on the setting value for python.terminal.shellIntegration.enabled

You will see
Image

How to differentiate between PyREPL vs. regular basic REPL:
You will see purpose >>> if you are in PyREPL.

(PyREPL without shell integration)
Image
vs.

(Basic REPL with shell integration)
Image


Testing

  1. Make sure you have the latest pre-release version of Python extension
  2. Make sure you have setting terminal.integrated.shellIntegration.enabled enabled
  3. Now depending on setting value for python.terminal.shellIntegration.enabled, observe that you DON'T get shell integration and are using PyREPL (purple >>>) when you have python.terminal.shellIntegration.enabled to false, and observe you DO get shell integration and are using basic REPL (non-purple >>>) when you have python.terminal.shellIntegration.enabled to true.

Note that if you are on Windows or WSL, you won't have shell integration for Python REPL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions