eclipse删除代码中所有的空行,更方便看代码

xiaoxiao2021-02-28  92

方法如下: 1.打开源码编辑器 2.使用快捷键Ctrl+f 3.在Find输入框中输入:^\s*\n 3.Replace With输入框的值为空 4.在【Options】选中的”Regular expressions” 5.点击【Replace All】按钮。 6.OK! 就这么简单! 利用正则^\s*\n 就可以

转载请注明原文地址: https://www.6miu.com/read-44568.html

最新回复(0)