VSCode Extensions

Series - Visual Studio Code
Note
This article was last updated on 2023-08-11, the content may be out of date.

In this article, I will list the VSCode extensions that I am currently using.

Group comments into different categories using different colors.

Highlight lines containing diagnostics and append diagnostic as text to the end of the line.

Material Design Icons for Visual Studio Code.

Syntax highlighting for log files.

Highlight CSV and TSV files.

A dark theme for VS Code.


Open a VSCode project in a Docker container based on the devcontainer/devcontainer.json template in the project folder. Ideal for unified development environment when collaborating with multiple people.

Open a GitHub Codespaces in VS Code.

Open any folder on a remote machine using SSH.


Manage your workflows, view the workflow run history, and help with authoring workflows.

Create, review, and manage GitHub pull requests and issues in VS Code.

Supercharge Git within VS Code. Blame, CodeLens, Hovers, File Annotations, Revision Navigation, Commit Graph, and much more.


Word Auto-completion. It is very convenient to write English documents or papers, and supports customized word lists. I created a list of commonly used English words, which can be downloaded from this repository. (60k is basically enough)

GitHub Copilot provides autocomplete-style suggestions from an AI pair programmer as you code. You can receive suggestions from GitHub Copilot either by starting to write the code you want to use, or by writing a natural language comment describing what you want the code to do.

Add a chat panel to the sidebar that allows you chat with GitHub Copilot.

The Microsoft AI code assistant utilizes context information to enhance the code completions.

Control VSCode related settings based on the modeline information in the file. For example, adding a comment like vim: set filetype=json ts=4 : to a file allows VSCode to automatically set the file type to json and the tab indentation to 4.

Preview Office files in VSCode.

The compare feature in VSCode can only compare all the differences between two files. However, this extension allows you to manually select any two pieces of code and compare their differences.

Auto-completion of file paths.

Quickly select text, such as selecting text within quotation marks, selecting text within brackets, etc.

Add a TODO panel to the sidebar showing all TODO or FIXME comments in the project.

Quickly switch quote formats, such as converting double quotes into single quotes.

In multi-line cursor mode, automatically adds a consecutive serial number to each place, and you can specify the starting serial number and step size.


Automatically generate Python docstring, support Google and Numpy and other styles.

Jupyter notebook support.

Python language support.

Correct Python indentation. The built-in Python indentation is not very good, and this extension can correct it.

Run your Python tests in the Sidebar.

Type hint completion for Python.


Highlight web colors in your editor.

Live preview of HTML files.

Open the color palette in VSCode for easy color adjustments.


All you need to write Markdown (keyboard shortcuts, table of contents, auto preview and more)

Shortcuts for Markdown editing


Check for spelling errors in the code.

Markdown linting and style checking.

Code formatter using prettier.

Ruff is an extremely fast Python linter.

Shell script linter using shellCheck.

Alphabetically sorts the keys in selected JSON objects.

Refactor Python instantly with Sourcery

A Lua code formatter.

Provides some text processing tools, such as deleting blank lines, deleting duplicate lines, randomly disrupting lines, sorting lines according to length, and so on.

If you need to format a file in a way that is not supported by VSCode, you can use this extension to write a custom formatter.

An extension for VSCode that provides linting for multiple languages in one package.


YAML language support.

Create, manage, and debug Docker containers.