- Run Selected Text in Active Terminal:
workbench.action.terminal.runSelectedText
-
Format on save:
"editor.formatOnSaveMode": "file", "editor.formatOnSave": true
-
Set default formatter:
"[python]": {"editor.defaultFormatter": "ms-python.black-formatter"}
-
Organize imports:
"editor.codeActionsOnSave": {"source.organizeImports": true}
-
Set path to default Python interpreter:
"python.defaultInterpreterPath": "path/to/anaconda3/envs"
-
Enable interactive execution in Jupyter:
"jupyter.interactiveWindow.textEditor.executeSelection": true