AndroidStudio替换空行

(1)在Edit Replace In Path输入框中输入:^\s*\n (\s代表任何空白字符,\S代表任何非空白字符,*代表任意个数,\n匹配换行符)

(2)Replace With输入框的值为空 

(3)在【Options】选中的"Regular expressions" 

猜你喜欢

转载自www.cnblogs.com/zhaogaojian/p/10201931.html
今日推荐