The Best Python plugins for visual studio code


There are many great Python plugins available for Visual Studio Code (VS Code), an open-source code editor developed by Microsoft. Here are a few popular ones that you might find helpful:

for download plugins (Extension) click the plugin name .


Python :

  This plugin is developed by Microsoft and is included by default with VS Code. It includes features such as IntelliSense (code completion), linting (checking for syntax errors), and debugging support.

Pylance : 

  Is an incredibly fast static type checker and adds comprehensive feature-rich language support for Python. Basically, this is the official successor to the Pyright extension that got released back in 2019.

Black Formatter :

  allows you to format your code using one of the most used Python formatters “Black”. Having a formatter in place improves productivity when working on Python projects with multiple developers.

That’s because the formatter is PEP8 compliant and makes sure the code style stays consistent through the projects and saves you time by not having discussions in pull requests about how the code should be formatted.

Bracket Pair Colorizer 2:

  Is another extension that lets developers quickly identify which brackets belong to each other and makes it easier to read the code. You can specify the matching bracket with colors and set the tokens and colors you want to use. This free extension can be helpful, especially if your code has nested conditions and loops.

PyLint : 

  This plugin integrates the PyLint static analysis tool into VS Code. It helps you find coding errors and improve your code quality by checking for issues such as coding style, naming conventions, and more.

Python Test Runner :  Not a plugin but read the doc (optional)

  This plugin allows you to run Python tests directly from the VS Code editor. It supports various testing frameworks such as unittest, pytest, and nose.

Visual Studio IntelliCode : 

  This is a standalone extension that provides AI-assisted IntelliSense. As you might have noticed, the first extension on this list also contains IntelliSense. But in my experience, I find that this extension works better because it scans your code using AI and then does a better job with autocomplete than the Python extension from Microsoft.

Python Docstring Generator : 

  This plugin generates Python docstrings for functions and classes. It supports a variety of docstring styles such as Google, Numpy, and PEP 257.

Python Extension Pack : 

  This plugin bundle includes a collection of popular Python plugins for VS Code, including the ones mentioned above. It's a great way to get started with Python development in VS Code.

There are many other Python plugins available for VS Code, so you may want to explore and try out a few to see which ones work best for your needs.
Welcome! My name is Saad, I'm web developer, graphic designer and UI/UX designer. I love creating fun things.

Post a Comment

© Wird Dev. All rights reserved. Developed by Jago Desain