The editor indents, formatting code configuration

How to write the code nicely formatted it?

Official website Reference
A:
Adding .editorconfig file in the root directory of the project
Indent two characters Configuration
results are as follows:

Sample Code

Published 18 original articles · won praise 10 · views 623

Guess you like

Origin blog.csdn.net/llq886/article/details/103516641