用户在使用Eclipse软件编辑完Java格式的代码内容以后,如果想要对数据进行排版整理的话。小编下面文章中讲解的设置代码自动排版方法,就能够带给大家一些实用性的帮助。

Eclipse设置自动排版技巧分享
1.打开界面后,点击上方的Window菜单

2.随后点击下拉菜单中的Preferences选项

3.接着在打开的新窗口中找到Java板块下的Editor选项,点击Save Actions按钮

4.鼠标点击勾选Perform the selected actions on save,Format source code以及Format all lines选项

5.最后点击apply按钮完成添加后关闭即可

以上就是Eclipse设置自动排版教程的全部内容了,快快收藏手机教程频道获得更多热门软件资讯吧!