Remove blank line in Eclipse

前端 未结 7 1586
梦毁少年i
梦毁少年i 2021-01-30 01:45

How can I remove lines that only contain spaces when using Eclipse Find/Replace prompt. I checked the \"Regular Expression\" check box, and tried the following, neither of whic

7条回答
  •  太阳男子
    2021-01-30 02:18

    As already suggested, regular expression and replacement is the solution, but such response would have been saving some minutes to me:

    1. click on ctrl+f
    2. use this replacement:

提交回复
热议问题