Window --> Preferences --> Web -- > HTML Files --> Editor,在Editor右方,全选Inline Elements元素,点击Remove按钮,右下角点击Apply and Close按钮。
如果代码还是有换行的,可以将Line width设置的更大一点,我的为720。
本文介绍如何在编辑器中通过设置移除HTML内联元素的自动换行,并提供了解决方案,包括调整Linewidth参数来进一步优化显示。
Window --> Preferences --> Web -- > HTML Files --> Editor,在Editor右方,全选Inline Elements元素,点击Remove按钮,右下角点击Apply and Close按钮。
如果代码还是有换行的,可以将Line width设置的更大一点,我的为720。
565