简体   繁体   中英

How to indent html inline with vscode?

Hello I got this indent in the first image and I would like it to be like the second image. I can't figure how to do that, I tried to use extensions such as prettier and some others. I also tried to modify Word wrap settings in VScode but I am not able to do it. Does someone could give me an indication about how to do that. thanks a lot. [1]: https://i.stack.imgur.com/68R0W.png [2]: https://i.stack.imgur.com/Zc6K6.png

you can try to use ALT + Shift + F

imqge 2 well actually I have even more lines doing this. There is 400 more lines in the code after using shift option F (on MAC) image 1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM