删除不需要的空白行蚀编辑器 [英] Remove unwanted blank line eclipse editor

查看:146
本文介绍了删除不需要的空白行蚀编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Eclipse中打开任何文件时.它在所有代码行和空白行之后显示替代的空白行.我该如何删除它....

When i open any file in eclipse. it show alternative blank line after all the code lines and blank line. how can i remove it....

推荐答案

在Eclipse偏好设置中,您可以删除所有不需要的空行. Eclipse:窗口>首选项> Java>代码样式>格式化程序>编辑格式化程序,将弹出以下屏幕.

In eclipse preference setting you can remove all the unwanted blank lines. Eclipse: Window > Preferences > Java > Code Style > Formatter > Edit the formatter and following screen will pop up.

当您设置代码格式时,所有不需要的空白行都将被删除.

And when you format the code all unwanted blank lines will be removed.

这篇关于删除不需要的空白行蚀编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆