Home > Development Tools > VSCode > Should vscode indent 2 or 4 spaces?

Should vscode indent 2 or 4 spaces?

藏色散人
Release: 2019-12-17 11:17:56
Original
4851 people have browsed it

Should vscode indent 2 or 4 spaces?

Does vscode indent 2 or 4 spaces?

vscode Set the code formatting indentation to 2 spaces

1. First open the file——》Preference——》Settings

2. Then enter search tabsize

3. Set as shown below, then open a file and press Alt Shift f to format it to test the effect

Should vscode indent 2 or 4 spaces?

:

Indent to 4 spaces

Should vscode indent 2 or 4 spaces?

Indent to 2 spaces

Should vscode indent 2 or 4 spaces?

Related Recommended: vscode tutorial

The above is the detailed content of Should vscode indent 2 or 4 spaces?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template