您的位置:首页 > Web前端 > JavaScript

MyEclipse/Eclipse 修改jsp XML java HTML 每行代码长度限制

2015-07-10 09:52 766 查看
MyEclipse:

MyEclipse设置HTML: window->Preferences->MyEclipse->Files and Editors ->HTML->HTML Source,看右侧 Formatting-> Line With.

JSP和HTML是一起的,所以设置了HTML之后JSP就不用设置了.



MyEclipse设置XML: window->Preferences->MyEclipse->Files and Editors ->XML->XMLSource,看右侧 Formatting-> Line With.

MyEclipse设置JAVA:window->Preferences->JAVA->code Style->Formatter 点击右侧NEW->弹出新建框,随便取一个名字->找到页签,Line Wrapping->General settings->maxmum line With



Eclipse:

HTML: window->Preferences->web ->html files->Editor

JSP: window->Preferences->web ->JSP files->Editor


XML: window->Preferences->XML->XML files->Editor,设置和上边HTML一样

JAVA:window->Preferences->JAVA->code Style->Formatter 点击右侧NEW->弹出新建框,随便取一个名字->找到页签,Line Wrapping->General settings->maxmum line With
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: