gpt4 book ai didi

eclipse - 删除不需要的空行 eclipse 编辑器

转载 作者:行者123 更新时间:2023-12-03 21:19:14 24 4
gpt4 key购买 nike

当我在 Eclipse 中打开任何文件时。它在所有代码行和空白行之后显示替代空白行。我怎样才能删除它....

enter image description here

最佳答案

在 eclipse 首选项设置中,您可以删除所有不需要的空行。 Eclipse: Window > Preferences > Java > Code Style > Formatter > Edit the formatter 将弹出以下屏幕。 enter image description here

当您格式化代码时,所有不需要的空行都将被删除。

关于eclipse - 删除不需要的空行 eclipse 编辑器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12740086/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com