Home  >  Article  >  Development Tools  >  5 practical VSCode extensions (share)

5 practical VSCode extensions (share)

青灯夜游
青灯夜游forward
2020-05-15 10:31:585630browse

This article will share with you 5 VSCode extensions that are useful for development. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

5 practical VSCode extensions (share)

1. Color Highlight

Who can remember all the hexadecimal codes? I can’t remember it anyway.

VSCode gives us a small color box as a reference, but it's not big enough to tell the difference between similar colors. Color Highlight gives us a larger preview by wrapping each hex code in color.

5 practical VSCode extensions (share)

Address: https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight

2. SVG Preview

VS Code has a built-in image preview window, but when you click on the .svg file, it only displays the code.

With SVG Preview we get an additional side window that allows us to preview images and even update them when we change the SVG code.

5 practical VSCode extensions (share)

Address: https://marketplace.visualstudio.com/items?itemName=SimonSiefke.svg-preview

3. i18n Ally

I started using i18n a few months ago and I have to say it made localizing my web applications into multiple languages ​​incredibly easy. The only difficulty is that the translation cannot be edited in the actual file being processed.

Instead one has to open the locales/language.json file, scroll down to the correct location and edit the text there (by then we have forgotten what we are looking for) .

i18n Ally gives us an inline preview of the base language text, allowing us to create new keys, view existing keys, and edit them directly from the template.

5 practical VSCode extensions (share)

i18n Ally also comes with a nice sidebar display (above) that shows us how close we are to completing the localization of our project .

Address: https://marketplace.visualstudio.com/items?itemName=antfu.i18n-ally

4. Code Spell Checker

Code Spell Checker is highly recommended. For most programmers who are not native English speakers and don’t want to write out different variable names, it is still a big challenge to correctly memorize and spell various words. , unlike when you need to look up an online dictionary when something is ambiguous, this plug-in can identify whether the word is spelled incorrectly in real time and give prompts. Many bugs are caused by spelling errors.

Address: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker

5. JavaScript Booster

JavaScript Booster: A great refactoring tool, such as replacing var with const or let, removing useless else statements, and Variable declaration and variable initialization are merged. It should be said that it is largely inspired by Webstorm.

5 practical VSCode extensions (share)

Address: https://marketplace.visualstudio.com/items?itemName=sburg.vscode-javascript-booster

VS Code Icons

With over four million current users, you may already be using this feature, which is why it ranks high on this list Advantage.

If you don’t have it, install it now and find what you’re looking for ten times faster in long lists of files and folders. The unique icons it adds for each file type make file searching intuitive and easy.

Written at the end, I hope these 5 extensions can be helpful to you.

Recommended: vscode basic tutorial

The above is the detailed content of 5 practical VSCode extensions (share). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete