phpstorm 删除空行

步骤:
ctrl+r 把 Regex 打上勾,搜索框就填写正则规则:^ ,匹配到所有空行之后,点击【Replace all】

 

原文地址:https://www.cnblogs.com/clubs/p/11649354.html