Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 640 Bytes

VScode_config.md

File metadata and controls

17 lines (9 loc) · 640 Bytes

Visual Studio Code Configuration

Keyboard Shortcuts

  • Run Selected Text in Active Terminal: workbench.action.terminal.runSelectedText

Settings.json

  • 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