When doing formatting is there an options to control and reduce spaces in blocks ?
Asked
Active
Viewed 71 times
0

bsmall
- 187
- 1
- 1
- 11
-
1see tools-->options-->Text Editor-->C#-->Tabs – MakePeaceGreatAgain Nov 02 '20 at 13:47
-
@bsmall, Is any update? – Jack J Jun Nov 17 '20 at 07:02
1 Answers
0
You can try the following steps to reduce extra blank lines.
First, please use hot key Ctrl+H to open replace function box.
Second, please select the code you want to format.
Third, please choose Use regular expression
and Selection
.
Finally, please input (?<=\r\n)\r\n
in the find box and click the Replace all.

Jack J Jun
- 5,633
- 1
- 9
- 27