Click here to Skip to main content
15,886,816 members
Articles / Web Development / ASP.NET

Remove blank lines from code in Visual Studio

Rate me:
Please Sign up or sign in to vote.
4.77/5 (52 votes)
13 Oct 2010CPOL 117.9K   30  

Alternatives

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

Please Sign up or sign in to vote.
19 Oct 2010Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR
Please Sign up or sign in to vote.
13 Oct 2010linebenchmark
Remove all blank lines, containing or not spaces:^:b*$\n

License

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


Written By
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions