Last active
February 21, 2022 19:10
-
-
Save leonardoapolinario/bf77f73ef0b08baf5d233c30cd3fb9ec to your computer and use it in GitHub Desktop.
Configure IPython as default python interpreter / terminal on Visual Studio Code (VSCode)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go to Preferences -> Settings -> Python -> Terminal: Launch Args -> Edit in settings.json | |
# Add the line | |
"python.terminal.launchArgs": [ | |
"-m", | |
"IPython", | |
"--no-autoindent", | |
] | |
#--no-autoindent is used to avoid indentation errors in terminal like invalid syntax on "While True:" loop or indentation error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment