Last active
September 20, 2021 01:26
-
-
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
This file contains 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
{ | |
"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