VScode 查找空行的方法

使用正则表达式查找^\s*(?=\r?$)\n

然后使用空替换即可

 

posted @ 2022-01-17 13:10  Zhanxueyou  阅读(404)  评论(0编辑  收藏  举报