📜  如何删除多余的空行. [API]csharp(RCS1036) 与代码 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:25.594000             🧑  作者: Mango

代码示例1
Open your code in Visual Studio Code
From Edit Menu, select Replace or use a short cut key (command + Option + F on Mac or Ctrl + H on Windows)
In the find box type ^(\s)*$\n
Leave the replace box empty
Make sure the 'Use Regular Expression' is selected
Select 'Replace All' button