This is formatted according to alt+shift+f code.
The indentation distance is too small. How to set it automatically can be indented into Figure 2.
1 . Find “editor. tabSize” in the VScode settings project: 4. Set the value to the number of indented spaces you want.
The number of indent spaces can also be set if the number of spaces in the lower right is clicked on the GUI interface.
Install the formatting code plug-in beautify, click the fourth on the left and search for the beautify. Once installed, press F1 to format the current file