First we open Vscode, click on the File option above
Click in the file interface First item This option
Then find the settings, click Settings, this will enter the VScode settings interface
Note The modification of VSCode's setting properties is achieved by modifying the value of Json
Enter indent in the search box to search, and you can get the search result As a result, there are comments on the Json indicating what this setting option is for. Click Edit on the left, this option will appear on the right, and then set the corresponding value on the right.
Enter tableSize to modify the size of the indented characters. Note that all worthwhile modifications are done on the right
Recommended related article tutorials: vscode Tutorial
The above is the detailed content of How to set indentation in vscode. For more information, please follow other related articles on the PHP Chinese website!