How Do You Format Code On Save In VS Code
Jan 21, 2021
How to use visual studio
There are a few ways to save your code in VS code
Format Code Manually
You can save your code in formatted manner by clicking right and then clicking on format document or you can format by pressing Shift +Alt +F.
Always Format Code on Saving a File
In VS code you can automatically format document on saving a file by giving configurations.
Click on Settings and type format in search bar.
and check this checkbox Format On Save.
This will help you to format your code in VS code which will leads to save your time and keep your code clean.