如何让 Visual Studio Code 自动换行?

2025-04-29 18:49:30
推荐回答(1个)
回答1:

file -> preferences -> user settings:

"editor.wrappingColumn": 0


其实默认配置文件的注释里已经说了:

Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping