

Perhaps P圜harm is spoiling me, but I was so used to it that finding this extension was a big deal for me. Python Docstring Generator diminishes developers’ endeavor by auto-creating docstrings, and though it may sound trivial, it is a time-saver. Refactoring: Restructure your Python code with variable extraction, method extraction, and import sortingĭownload Python Python Docstring Generatorĭocumenting is super essential, but it is a tedious task, and sometimes we take shortcuts because we lack the tools to make it easier or more efficient.Environments: Automatically activate and switch between virtualenv, venv, pipenv, conda, and pyenv environments.Jupyter Notebooks: Create and edit Jupyter Notebooks, add and run code cells, render plots, visualize variables through the variable explorer, visualize dataframes with the data viewer, and more.Testing: Run and debug tests through the Test Explorer with unittest, pytest, or nose.Debugging: Debug your Python scripts, web apps, remote or multi-threaded processes.Code formatting: Format your code with black, autopep or yapf.Linting: Get additional code analysis with Pylint, Flake8, and more.IntelliSense: Edit your code with auto-completion, code navigation, syntax checking, and more.The extension is officially supported by Microsoft, the same company behind VS Code, so it is really a no-brainer, but what exactly will it do for you? Let’s take a look into the most important features:

It is so much so that VS Code will suggest you install the extension when you open a Python file. I know VS Code supports Python out of the box, but this extension takes it to a whole new level. If you work with Python, you need this extension. Let’s discover my favorite VS Code extensions for Python, and please let note that they are not in order. But I don’t want to jump-start, so please follow through the article to find out more about it.


In particular, there’s a new plugin I was recently introduced to, which changed the way I use VS Code and how much more comfortable I feel coding in it. I feel more comfortable now with the editor, and some of the areas where it was behind P圜harm are now doing much better on their own or with the help of plugins. New extensions are now available on the store, and some others I discovered, some suggestions of fellow readers, while others were digging and investigating on my own.Īs you may know, I’m a big fan of the Jetbrains family of products, so P圜harm and WebStorm are my go-to for IDEs and working with projects, but I’ve been using VS Code a lot more lately for editing quick files or even working in small projects. Some time ago, I wrote this article, and since then, VS Code has expanded a lot.
