Click here to Skip to main content
11,639,554 members (63,230 online)
Click here to Skip to main content

Remove blank lines from code in Visual Studio

, 13 Oct 2010 CPOL 9.2K 12
Remove all blank lines, containing or not spaces:^:b*$\n

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

19 Oct 2010
Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

linebenchmark
Software Developer
Spain Spain
No Biography provided

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.150731.1 | Last Updated 13 Oct 2010
Article Copyright 2010 by linebenchmark
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid