Skip to content

Instantly share code, notes, and snippets.

@Diogo-Rossi
Last active September 20, 2021 01:26
Show Gist options
  • Save Diogo-Rossi/66cd423f8d849ce2eeed3c1f8f123502 to your computer and use it in GitHub Desktop.
Save Diogo-Rossi/66cd423f8d849ce2eeed3c1f8f123502 to your computer and use it in GitHub Desktop.
Settings configuring VS Code to run python files in IPython like in Spyder
{
"terminal.integrated.defaultProfile.windows": "IPython",
"terminal.integrated.profiles.windows": {
"IPython":{
"path": "ipython",
"overrideName": true,
"icon": "debug-start"
},
},
"macros.list": {
"runInIPythonTerminal": [
{"command": "workbench.action.terminal.sendSequence","args": { "text": "%run \"${file}\""}},
{"command": "$delay","args": {"delay": 100}},
{"command": "workbench.action.terminal.sendSequence","args": { "text": "\r" }},
],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment