*cracks knuckles* autoDocstring - because I want future me to not be angry at present me Error Lens - because I'm blind Even Better TOML - because anyone who hasn't switched over to pyproject.toml format should Jupyter - because data science pylens - because I'd like to know what dependencies have updated Python Indent - because I value my sanity Ruff - nice performant linter + isort functionality View Image for Python Debugging - if your data science work sometimes strays away from Jupyter notebooks, you'll understand why Answer from Deleted User on reddit.com
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ languages โ€บ python
Python in Visual Studio Code
November 3, 2021 - You can use the GitHub Copilot extension in VS Code to generate code, or to learn from the code it generates. GitHub Copilot provides suggestions for languages beyond Python and a wide variety of frameworks, including JavaScript, TypeScript, ...
๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ what are your favorite extensions for vscode that make coding in python easier?
r/learnpython on Reddit: What are your favorite extensions for VSCODE that make coding in Python easier?
June 28, 2023 -

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?

Discussions

i'm starting python on vscode, wich extensions would you recomend to me?
Official Microsoft python extension & ruff/black for auto formatting. More on reddit.com
๐ŸŒ r/vscode
14
14
February 26, 2024
VS Code Extensions for Python
Sure. Python-specific extensions: Jupyter - for working with Jupyter notebooks (if needed) Mypy - type checking Pylance - alternative tool for type checking Ruff - the best and only linter you'll need Generic extensions: CodeSnap - useful for sharing code in image form, primarily for social media. Basically https://carbon.now.sh but as an extension. Even Better TOML - for pyproject.toml files file-tree-generator - for sharing your directory structure but being too lazy to make one by hand Hex Editor - for the rare occasion you need to dig into binary files HexInspector - see numbers in other number bases on hover Live Preview - lets you render web pages within VS Code with auto-refresh Markdown All in One - because you'll generally see plenty of Markdown in projects Markdown Preview Enhanced Snyk Security - helps find common security issues WSL - Better WSL integration Theme-wise I'm also fond of Material Icon Theme, Monokai Charcoal High Contrast, and Doki-Theme, but those aren't exactly useful. More on reddit.com
๐ŸŒ r/learnpython
12
57
August 3, 2024
A VS Code extension that displays the values of variables while you type
For what would this be useful? And what about huge projects? Anyway, really cool project! More on reddit.com
๐ŸŒ r/Python
114
2145
June 21, 2020
Your must have VSCode extensions?
๐ŸŒ r/FastAPI
7
8
January 26, 2024
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
Python - Visual Studio Marketplace
March 27, 2026 - Extension for Visual Studio Code - Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
๐ŸŒ
Towards The Cloud
towardsthecloud.com โ€บ blog โ€บ best-vscode-extensions-python
10 Best VS Code Extensions for Python Developers (2026) | Towards The Cloud
March 26, 2026 - The 10 best VS Code extensions for Python developers: Pylance, Python by Microsoft, Sourcery, and more. Tested and reviewed for code quality and productivity.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ top-vs-code-extensions-for-python
Top 10 VS Code Extensions For Python [2025] - GeeksforGeeks
July 23, 2025 - It provides features like analyzing code for potential errors, code formatting, debugging through a debug console, testing with the unit test, pytest, and nose test frameworks. Syntax checking, auto-completion, auto-activation, and switching between different environments are also done by this extension. Moreover, it supports Jupyter Notebooks and therefore is considered as the very basic and important Python extension.
๐ŸŒ
Bas
bas.codes โ€บ posts โ€บ best-vscode-extensions-python
Top 10 VSCode Extensions for More Productive Python Development - Bas codes
The obvious one: Make VSCode speak Python with Microsoftโ€™s Python extension ยท Python Extension ยท Make VSCode better at indentation of Python code ยท Python Indent Extension ยท Colorcode your comments ยท Better Comments Extension ยท Run your ...
๐ŸŒ
The Developer Space
thedeveloperspace.com โ€บ home โ€บ programming โ€บ 10 essential vs code extensions for python development in 2024
10 Essential VS Code Extensions for Python Development in 2024 โ€“ The Developer Space
June 1, 2025 - This extension offers a comprehensive suite of tools to streamline your coding process. IntelliSense: Intelligent code completion and navigation. Linting: Support for multiple linters like Pylint and Flake8 to ensure code quality. Debugging: Advanced debugging features including breakpoints, watches, and call stacks. Jupyter Notebooks Integration: Seamless support for data science workflows. Environment Management: Easily manage Python environments, including virtual environments and Conda.
Find elsewhere
๐ŸŒ
LearnPython.com
learnpython.com โ€บ blog โ€บ visual-studio-code-extensions-for-python
Best Visual Studio Code Extensions for Python | LearnPython.com
March 13, 2023 - Pylance: Pylance is a language server that provides fast and accurate code intelligence for Python, including code completion, definition look-up, and linting. Visual Studio IntelliCode: This extension provides AI-assisted code completions based ...
๐ŸŒ
Medium
medium.com โ€บ mlearning-ai โ€บ 9-useful-python-extensions-for-visual-studio-code-bf749d809855
9 Useful Python Extensions for Visual Studio Code | by Asadullah Dal | Medium
December 26, 2022 - Select the Python interpreter, from available Python virtual/conda environments. Provides the options to select Linter and Code formats. ... The Extension comes as a pack with two more extensions.
๐ŸŒ
DEV Community
dev.to โ€บ bobbyiliev โ€บ 7-best-vs-code-extensions-for-python-developers-4e9d
7 Best VS Code Extensions for Python Developers - DEV Community
August 2, 2023 - Visual Studio Live Share is an extension that allows real-time collaboration with other developers, enabling you to share your code, workspace, and even terminal instances with others.
๐ŸŒ
GitHub
github.com โ€บ microsoft โ€บ vscode-python
GitHub - microsoft/vscode-python: Python extension for Visual Studio Code ยท GitHub
A Visual Studio Code extension with rich support for the Python language (for all actively supported Python versions), providing access points for extensions to seamlessly integrate and offer support for IntelliSense (Pylance), debugging (Python Debugger), formatting, linting, code navigation, refactoring, variable explorer, test explorer, environment management (NEW Python Environments Extension).
Starred by 4.6K users
Forked by 1.3K users
Languages ย  TypeScript 90.3% | Python 8.7% | JavaScript 0.8% | Jupyter Notebook 0.2% | Shell 0.0% | Dockerfile 0.0%
๐ŸŒ
DataSource.ai
datasource.ai โ€บ en โ€บ data-science-articles โ€บ top-10-python-extensions-for-visual-studio-code
Top 10 Python Extensions for Visual Studio Code
September 1, 2023 - Can be changed in Preferences -> Keyboard shortcuts -> extension.generateDocstring ... Python Extended is a vscode snippet that makes it easy to write Python code by providing completion options along with all arguments. Usage Run vscode and in a python file, type the name of the method to ...
๐ŸŒ
GitConnected
levelup.gitconnected.com โ€บ 12-vs-code-extensions-every-python-developer-should-be-using-a8f8ac05bf86
12 VS Code Extensions Every Python Developer Should Be Using | by Manalimran | Level Up Coding
August 28, 2025 - With the VS Code Black extension, my code formats automatically on save. The best part? It enforces a single consistent style. I no longer think about where to put spaces or line breaks Black decides for me.
๐ŸŒ
Reddit
reddit.com โ€บ r/vscode โ€บ i'm starting python on vscode, wich extensions would you recomend to me?
r/vscode on Reddit: i'm starting python on vscode, wich extensions would you recomend to me?
February 26, 2024 - VS Code no longer plays nice with custom configurations like the old open source days. For a beginner it's simply not worth the hassle. I'd recommend you use the MS Python extension and nothing else.
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ python โ€บ python-tutorial
Getting Started with Python in VS Code
November 3, 2021 - Windows Subsystem for Linux: If you are working on Windows and want a Linux environment for working with Python, the Windows Subsystem for Linux (WSL) is an option for you. If you choose this option, you'll also want to install the WSL extension.
๐ŸŒ
Medium
medium.com โ€บ @huzaifazahoor654 โ€บ best-vs-code-extensions-for-python-developers-e64d6509e96
Best VS Code Extensions for Python Developers | by Huzaifa Zahoor | Medium
April 21, 2023 - Git Lens is an extension that makes working with Git repositories in VSCode much easier. It offers features like inline blame annotations, code lens, and advanced code navigation tools.
๐ŸŒ
SatisfyHost
satisfyhost.com โ€บ home โ€บ web hosting โ€บ top 10 best python extensions for visual studio code [year]
Top 10 Best Python Extensions for Visual Studio Code 2026
October 2, 2024 - For data scientists and machine learning enthusiasts, the Jupyter extension is a critical tool. It integrates Jupyter Notebooks directly into VS Code, allowing you to run and debug notebook code seamlessly.
๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ vs code extensions for python
r/learnpython on Reddit: VS Code Extensions for Python
August 3, 2024 -

Hi everyone, can you share some of the VS Code extensions you use to improve your coding experience? I know the most common extensions, like Prettier, BetterComments and SpellChecker, but I'm sure there are some hidden gems out there, hope you can help me find some! Thank you all

๐ŸŒ
adesso SE
adesso.de โ€บ en โ€บ news โ€บ blog โ€บ the-best-visual-studio-code-extensions-for-python-developers-2.jsp
The best Visual Studio Code extensions for Python developers
July 25, 2023 - The MarkdownLint plugin for Visual Studio Code is an extension that analyses your markdown text and identifies possible errors or inconsistencies. Markdown All in One is another recommended plugin, offering a variety of code completion functions ...