When I write code in Visual Studio Code, and the line gets long, It doesn't break. It goes past the edge of the screen and that is rather annoying. What I want is for the line to break and then go on below, I believe this is called wrap or breaking I'm not sure. I use a split screen on my computer so only one half is my code editor and the other half is my project so I can see as I update it. Any help?
There's a setting for that called editor.wordWrap
.
You can search the settings for "wrap" and set some additional customization to how you want VSCode to behave when wrapping text.
Ctrl+Shift+P
to open command palette and type wrap
there. You will easily find the option and also its hotkey - Alt+Z
.
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.