Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
149 views
in Technique[技术] by (71.8m points)

html - 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

question from:https://stackoverflow.com/questions/65839096/resolve-css-line-wrapping-in-vs-code

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...