想要看到换行符,首先要先设置自动换行点击file->settings->Editor->General 勾选上 Use soft wraps in editor 点击apply即可,这样当你的一行代码够长的时候,你就能看见换行符了