Visual Studio Code extensions

Alan
5 min readJul 25, 2023

--

Visual Studio Code is currently the most widely used software for code writing among developers.This article will recommend 10 fun and useful Visual Studio Code extensions for you.

Chinese (Traditional) Language Pack

Beloved partner for Chinese users, make Vscode’s interface in Chinese, but not everything is available in Chinese. Some extensions’ settings are still in the original language. It is recommended to have a good understanding of most of the features before using.

After installing the extension, press Ctrl+Shift+P to display the Command Palette, then start typing display to filter and show Configure Display Language. You can select the display language for VSCode.

Code spell checker

This extension will check the words in the code according to the camelCase spelling convention. If they do not comply, a squiggly underline will appear below the word. You can press the lightbulb icon to select the correct word or add the current word to the database.

By the way, you can also add words to the ignore list in the settings to prevent the squiggly underlines from appearing.

AutoDocstring

This extension allows you to quickly add comments to functions, and when you hover over a function, it will display the comment, similar to how Pylance works.

By default, the extension uses three double quotes to wrap the docstring comments. However, you can go to the settings and find Auto Docstring: Quote Style to change whether to use single or double quotes for the opening quotes.

Furthermore, you can use Auto Docstring: Docstring Format to change the style of the docstring comments. For more detailed styles, you can refer to the following link: Auto Docstring — Visual Studio Marketplace.

Better Comments

This extension allows your comments to have colors, but there may be some minor compatibility issues when used together with Auto Docstring.

You can customize the color and format of comments by adding better-comments.tags in the settings.json file.

Indent-rainbow

This extension can add colors to indentation, which is particularly helpful for programming languages like Python that have specific requirements for indentation.

You can customize the color and format of comments by adding indentRainbow.colors in the settings.json file. This feature allows for personalized and visually distinct comment styles based on user preferences.

Git graph

This extension allows you to interact with Git from Git Graph, freeing you from the constraints of using the command line. It provides a graphical user interface (GUI) for performing Git operations, making it easier and more intuitive to work with version control in Visual Studio Code.

This extension also supports customizing the Git Graph style. Users can change the appearance and layout of the Git Graph to suit their preferences and make it visually appealing.

Git history

This extension allows you to view Git’s commit history through keyboard shortcuts. It provides a quick and easy way to access and navigate the Git history of your project directly from Visual Studio Code.

Markdown all in one

Markdown All in One is a primary extension that enhances the Markdown editing capabilities in VS Code. It offers a range of automated features to assist you in writing README.md files more effectively. With this extension, you can make the most of various productivity tools and utilities when working with Markdown files in Visual Studio Code.

Path intellisense

This extension is an autocomplete for file paths.

Black Formatter

This extension automatically formats the code according to the Black style. Pressing Ctrl+Shift+I will trigger automatic code formatting.Before using this extension, you need to add the following configuration in the settings.json file:

“[python]”: { “editor.formatOnType”: true, “editor.defaultFormatter”: “ms-python.python” }

END~

Above are ten recommended Visual Studio Code extensions. We hope you enjoy using them! If you have any questions or need assistance, feel free to ask us anytime. If you find this article helpful, don’t forget to give it a thumbs up or share it with your friends. Wishing you smooth and successful development and coding!

Hello there, long time no see! I’m Alan, the author of this article. Thank you for reading this piece, and as a little personal recommendation, I’d like to suggest a small extension called “Power Mode.” With this extension, you’ll have cool effects that can give you even more motivation while coding!

--

--