html格式不换行: 打开idea全局设置 file --> setting -->Editor -->Code Style --> HTML -->看左边 点击 Other -->找到 wrap attributes–>更换为 Do not wrap