What are your favorite extensions for VSCODE that make coding in Python easier?
How to enable extensions for python in visual studio code?
visual studio code - How to install previous version of Python extension for VSCode - Stack Overflow
VS Code extension for python
Videos
I just learned about autoDocstring last night and I'm blown away how nice this extension is. It makes creating docstrings so much easier and automated. Personally, I'm a fan of Google's style for docstrings so that's what I've set my default to when generating docstrings!
Another favorite extension of mine is this linter: Ruff. However, it is a bit buggy in that it duplicates functions at the bottom of the file, but other than that I love it!
Lastly, this is not an extension, but I love the Black library and auto-saving my .py files with this formatting provider in VSCODE.
I'm curious what this communities' favorite extensions are that make coding in Python easier or automated?
You need to install it from a .vsix file. You can find them here.
Download the .vsix file of the version you want. You may have to click assets to see them.
Then open VSCode, go to extensions -> click on the three dots -> install from vsix and select your file.
To install the .vsix you can also use the command
code --install-extension ms-python-release.vsix

sources :
- How can I install Visual Studio Code extensions offline?
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
This can be done using "Install Another Version" option available with VS Code extension store.
- Go to extensions.
- Click on Gear Icon for the installed extension
- Click on Install Another Version
- And select the version you wish to install
