When I Write down a HTML tag,like :
···
<div></div>
···
And press Enter between ><
, VSCode always auto add new line and indent, then the result is :
···
<div>
(← here have an indent)
</div>
···
How can I prevent VSCode operations?
When you are in VSC, go to...
File > Preferences > Settings > Text Editor
Scroll down until you find:
Auto Indent and change full to none
There are some operations about that you maybe want to know.