vscode 去除多余空行

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

^\s*(?=\r?$)\n
WeChat