Click here to Skip to main content
12,353,205 members (69,128 online)
Click here to Skip to main content
Add your own
alternative version

Stats

11.6K views
12 bookmarked
Posted

Remove blank lines from code in Visual Studio

, 13 Oct 2010 CPOL
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
Web02 | 2.8.160621.1 | Last Updated 13 Oct 2010
Article Copyright 2010 by linebenchmark
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid