Visual Studio Code

What is “Prettier”

Prettier is a code formatter and can work on Visual Studio Code as an extension.

By using this tool, your code is automatically formatted when you save it.

How to install Prettier on VSCode.

You can install it on > > .

Search “Prettier& ...

Visual Studio Code

Adjust Indent

You can adjust indents manually with Alt + Shift + F keys.

But if you don’t want to type them every time, I recommend the auto indent feature.

Move to >>. Then, Enter “formaton”. You can see the following setting items.

Check the each items.

Ope ...