LoginSignup
2
1

More than 5 years have passed since last update.

PhpStormで空行を一括削除

Last updated at Posted at 2016-12-30

ファイルにある「空っぽの行」が多すぎたので、いっそのこと全部消すことにした。

方法

  1. Command + R
  2. 「Regex」にチェック
  3. 検索欄の上に \n\n 、下に \n (正規表現)
  4. 「Replace all」

スクリーンショット 2016-12-30 16.40.43.png

念のため差分をとってチェックなどを忘れずに。

参考

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1