Visual Studio Code#

Settings#

  • disable minimap: Editor -> Minimap

  • do not open last project when VSCode is opened:

  • trim trailing whitespace: Text Editor -> Files -> Trim Trailing whitespace

  • debug all code - not just your own: Extensions -> Python -> Debug Just My Code

  • change font: Editor: Font Family -> prepend "'Source Code Pro', " for example

  • change textsize of UI: Window: Zoom Level

  • show vertical ruler for max line length: Editor: Rulers - also see https://stackoverflow.com/a/29972073

  • auto save: Text Editor -> Files -> Auto Save -> "onFocusChange"

  • show modified settings: open settings -> click "..." (top right) -> select "Show modifies settings"

Extensions#

  • Python specific

    • Python: https://marketplace.visualstudio.com/items?itemName=ms-python.python

    • Pylance: https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance

    • Python Test Explorer for Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter

    • Python Docstring Generator: https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring

    • Jupyter: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter

  • Visual Studio IntelliCode: https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode

  • Bookmarks: https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks