简体   繁体   中英

Resolve CSS Line Wrapping in VS Code

I'm fairly new to learning coding and I'm trying to figure out how to set up VS Code so that it doesn't wrap HTML tags in CSS. I have Prettier installed and set as my default formatter. It won't allow more than one HTML tag on a single line in CSS and I can't figure out why. Screenshot of wrapping HTML tags in CSS doc

If you want to un-wrap your code in the editor, just press alt + z in the file you want to (wrap-unwrap) the code.

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