Visual Studio Code Format Extension

Viewed 21

I would like to know if there is an extension to automatically format and indent code on visual studio code

1 Answers

You can use Prettier code formatter and set it to format on save option available on VS Code.

So, whenever you will save your program. Your code will be formatted and indented.

Prettier link here

Related