My Top 10 Visual Studio Code Extensions for Python in 2020
Tags: vscode, python, vsextension, writingpython
Published: 2020-10-30 09:50:45

### 1.[Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) extension for Visual Studio Code
by Microsoft
![Python](https://dev-to-uploads.s3.amazonaws.com/i/fntzqqste8brzeubtl15.png)
First and foremost - the Python plugin for VS Code. Out of the box, there is no support for Python in the VS Code, but when you open a Python file, VS Code will immediately suggest this plugin. It adds all the necessary features like:
- Syntax highlighting for Python files
- Intellisense (code-completion suggestions)
- Ability to start a debugger

### 2. [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer)
by CoenraadS
![Bracket Pair Colorizer](https://dev-to-uploads.s3.amazonaws.com/i/s70jgg3rxcb87a368y4p.png)
This extension allows matching brackets to be identified with colors. The user can define which tokens to match, and which colors to use.

### 3. [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments)
by Aaron Bond
![Better Comments](https://dev-to-uploads.s3.amazonaws.com/i/vgl4qqeypa4wmw1quc6q.png)
The Better Comments extension will help you create more human-friendly comments in your code.
With this extension, you will be able to categorize your annotations into, Alerts, Queries, TODOs.

### 4. [Error Lens](https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens)
by Alexander
![Error Lens](https://dev-to-uploads.s3.amazonaws.com/i/xsn7rp8zvdr5lnx0yw9h.png)
Sometimes the error marks in VS Code are hard to spot (especially the “info” hints). If you don’t wrap lines, it’s even worse - the error can be in the part of the code not visible on the screen.
That’s why I’m using Error Lens. It lets me modify how the errors should be displayed. It can display the error message next to the line where it occurs and a Sublime-like error icon in the gutter (next to the line number)

### 5. [Git Graph](https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph)
by Mhutchie
![Git Graph](https://dev-to-uploads.s3.amazonaws.com/i/5p4j2q870qqy0g66rdu1.png)
If your working with code I assume you use a repository to safely store it. Git graph adds another dimension to the way you use the VS Code. It adds a nice user interface of your Git history and adds the ability to create/checkout new branches with the click of a button.

### 6. [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) Git supercharged
by Eric Amodio
![GitLens](https://dev-to-uploads.s3.amazonaws.com/i/pve61jqm58p10t5u5hql.png)
This extension has at the time of writing already has more than 5 million downloads! This extension is not only a game-changer it makes sure you use Git in other ways you normally wouldn’t have used it within your CLI.

### 7. [Python Preview](https://marketplace.visualstudio.com/items?itemName=dongli.python-preview)
by Dongli
![Python](https://dev-to-uploads.s3.amazonaws.com/i/jmxr9vzdulxvwlc5slb3.png)
This extension is really simple but extremely handy. It brings a visual view to VSCode for Python, which makes debugging code far simpler and likely quite a bit faster.

### 8. [Bookmarks](https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks)
by Alessandro Fragnani
![Bookmarks](https://dev-to-uploads.s3.amazonaws.com/i/807me7a26j6h0zrs5coj.png)
This extension lets you bookmark locations in your code, easily list all your bookmarks in a sidebar, and move between them with keyboard shortcuts.

### 9. [TODO Highlight](https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight)
by Wayou Liu
![TODO Highlight](https://dev-to-uploads.s3.amazonaws.com/i/eascqizymtp4cc7be7s0.png)
Highlights all TODO/FIXME/NOTE in the code, so you can easily spot them. You can easily customize it by adding new words and changing the highlight style.

### 10. [Python Indent](https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent)
by Kevin Rose
![Python Indent](https://dev-to-uploads.s3.amazonaws.com/i/u9p9diy05nydlkvmthgy.png)
Every time you press the Enter key in a python context, this extension will parse your python file up to the location of your cursor, and determine exactly how much the next line (or two in the case of hanging indents) should be indented and how much nearby lines should be un-indented.

### Conclusion
These are my top extensions for python that I am using in 2020, there are of-course more extensions that I am using (Django-snippets, Flask-snippets) but I wanted to focus on the extensions that I am using for python only. If you have an extension that is not included in this list, please share it in the comments. **Happy Coding!**