Skip to content

Instantly share code, notes, and snippets.

@leonardoapolinario
Last active February 21, 2022 19:10
Show Gist options
  • Save leonardoapolinario/bf77f73ef0b08baf5d233c30cd3fb9ec to your computer and use it in GitHub Desktop.
Save leonardoapolinario/bf77f73ef0b08baf5d233c30cd3fb9ec to your computer and use it in GitHub Desktop.
Configure IPython as default python interpreter / terminal on Visual Studio Code (VSCode)
# 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