1、按下快捷键 "ctrl+," 打开设置
2、搜索 wrap ,找到 Editor: Word Wrap
3、将Editor: Word Wrap中的 off 改为 on 即可
注:快捷键 Alt +z