9 Useful Python Extensions for Visual Studio Code

AiPhile
4 min readDec 23, 2022

--

The journey from a Text editor to IDE

Then I am going to show you the 9 most valuable extensions that will improve your workflow, Productivity and It would be helpful to write clean and better python code.

My Point of View.

Being a computer vision developer, mostly write code in python. My journey started back in 2020, based on two years of grilling. Now here to share the experience of utilizing these extensions for improving VS cod workflow and productivity while writing Python code. It is a fact that I can’t write clean, more readable and better python code without these extensions (a bit harsh but true 😎).

VS Code without any Extensions

Visual Studio Code is a Text/Code editor. It is complete with basic features for code editing. The VS Code can be turned into an IDE for most languages, like python, C++, Go, Arduino etc., with the power of Extensions.

Visual Studio Code without any Extensions

1. Python Extension for VS Code

by Microsoft

The Python Extension provides core support for python language to Vs code, like, Running Code ▶, Linting(need to select), Debugging🐞, Code Formatting(need to select), Code Refactoring etc.

  1. It allows to run the python files and debug them.
  2. Select the Python interpreter, from available Python virtual/conda environments.
  3. Provides the options to select Linter and Code formats.
  4. Code Testing
  5. The Extension comes as a pack with two more extensions.
  • Pylance
  • Jupyter Notebook

Python Extension in Visual Studio Code

2. Pylance

by Microsoft

Fast, feature-rich language support for Python

Pylance is an extension that works alongside Python in Visual Studio Code to provide performant language support. Under the hood, Pylance is powered by Pyright, Microsoft’s static type checking tool. Using Pyrite, Pylance can supercharge your Python IntelliSense experience with rich type information, helping you write better code faster.

Signature help(with type information), Parameter suggestions, Code completion, As-you-type reporting of code errors and warnings (diagnostics), Type checking mode, compatibility with IntelliCode and Jupyter Notebooks, Semantic highlighting

for more check out

Pylance Extension in Visual Studio Code

3. Path IntelliSense

by Christian Kohler

It allows us to add the path of files efficiently, as reflected by the name itself “Path Intellisense”.

Path IntelliSense Extension in Visual Studio Code

4. Jupyter Notebook

by Microsoft

It enables vs code to work with Jupyter notebook, with the power of all extensions that are installed in VS code.

Jupyter Notebook Extension in Visual Studio Code

5. IntelliCode

by Microsoft

It’s AI which trains itself while you are writing the code to help and improve your coding experience in visual Studio Code.

IntelliCode Extension in Visual Studio Code

6. Black Formatter

by Microsoft

It provides all the Black Formatter features within VS Code echo system, without installing manually in every python environment. It is just a standalone extension.

Black Formatter Extension in Visual Studio Code

7. Auto Doc-String

by Nils Werner

It allows you to write better and fast Doc strings of your python functions.

Auto DocString Extension in Visual Studio Code

8. Code Spell Checker

by Street Side Software

It helps a lot in correcting the spelling of variables, functions, class names and comments etc. in python scripts.

Code Spell Checker Extension in Visual Studio Code

9. Indent Rainbow

by order at

It helps to find indentation at first glance, by providing different colours to every indent.

Other than the python extension, I would love ❤ to have them in Visual Studio Code.

Remote Development

It is a pack of three extensions which allow you to remotely connect your device to Visual Studio Code on your local machine. I use it a lot to connect my Raspberry pi to vs code development environment on my local machine, which handles the development environment and allows me to access files, folders and code on raspberry pi. It saves lots of time and the Dev-environment processing power is handled by a local machine which is quite ineradicable since Raspberry Pi can’t handle that much procssing localy at all.

If you are working on Raspberry Pi project, then do git it a try.

Emojisense

If you want to add Emojis in your GitHub Readme a lot then I would highly recommend you install this extension emojisens since it provides IntelliSense for the Emojis.

These are the extensions that utilising while writing code in Vs Code, I hope you found the helpful.

That’s it for now 👋.

Thank you so much.

Here you can check out my computer vision project. Asadullah-Dal17 (Asadullah Dal) · GitHub

--

--