vscode换行符

1,去除空行

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

image

2,去掉换行付

如果要替换显示出来的\n,替换上要用正则表达式,然后使用\r\n。

posted @ 2022-11-22 17:29  SultanST  阅读(83)  评论(0编辑  收藏  举报