forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
Refs: #25240
- macOS @mrleemurray
- linux @justschen
- windows @roblourens
Complexity: 2
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
How to differentiate between PyREPL vs. regular basic REPL:
You will see purpose >>> if you are in PyREPL.
(PyREPL without shell integration)

vs.
(Basic REPL with shell integration)

Testing
- Make sure you have the latest pre-release version of Python extension
- Make sure you have setting
terminal.integrated.shellIntegration.enabledenabled - 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 havepython.terminal.shellIntegration.enabledto false, and observe you DO get shell integration and are using basic REPL (non-purple>>>) when you havepython.terminal.shellIntegration.enabledto true.
Note that if you are on Windows or WSL, you won't have shell integration for Python REPL.
