Skip to content

Instantly share code, notes, and snippets.

@kunthar
Last active August 27, 2021 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunthar/b77619e79c58851c402d87dbf4d7c9ce to your computer and use it in GitHub Desktop.
Save kunthar/b77619e79c58851c402d87dbf4d7c9ce to your computer and use it in GitHub Desktop.
vscode notes for python developers
  1. Bullshit venv detection: If you can't find where the hell is this virtualenv you should open workspace settings, create settings.json and add this
"python.pythonPath": "/your_path/.venv/bin/python"
  1. You click the file and then another one and your previous file closed. You get mad as a hell. Because of preview mode is enabled as default. Disable it as shown here:

https://stackoverflow.com/questions/38713405/open-files-always-in-a-new-tab

  1. When you develop with a one language, disable all other extensions to hold your nerves.

  2. Dark+ Material theme is cool. Far more better then default. And also you can use FiraCode ligature

https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions

  1. Create and tune debug config file!

I will add more as this disturbing M$ adventure goes by.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment