代码格式化模版导入eclipse说明书.docx
《代码格式化模版导入eclipse说明书.docx》由会员分享,可在线阅读,更多相关《代码格式化模版导入eclipse说明书.docx(27页珍藏版)》请在冰点文库上搜索。
代码格式化模版导入eclipse说明书
代码格式化模版导入eclipse说明书
第一步:
打开eclipse点击window中的preferences…
第二步:
点击java下的CodeStyle下的Formatter
第三步:
点击import按钮选择要导入的模版
第四步:
点击打开按钮后进入的页面然后点击Apply模版就导入成功了
格式化代码的快捷键Ctril+Shift+F;
格式化前:
格式后:
格式化代码模版:
xmlversion="1.0"encoding="UTF-8"?
>