In the integrated Power Shell terminal in VSCode in Windows 10, I can type a command, and then re-type it again at the prompt by pressing the up arrow key.
How do I get the same behavior in the integrated anaconda Python console?
This is a related question, though not applicable to the Python console.
Here are the steps to replicate the issue:
- Launch Anaconda Navigator, and select vscode
- Open
.py
file in vscode - Run file
ctrl + shift +F
- Go to terminal. At prompt enter
python
PS C:\Users\Fred\Desktop\pandas> python Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
>>>
- At python prompt enter
2+2
+ enter - At python prompt enter up
up arrow
. Nthing happens. Expected to get last command2+2
.