visual studio 2010 - How to delete all comments in a selected code section? -


every once in while, code gets littered many useless comments, of them obsolete lines of code, , obsolete "memos self".
wondering if there's way select code section, , magic key combination or macro, delete of those.

thanks.

i believe search & replace in vs allows regular expressions, easy enough search "// (anything end of line" or "/* (anything) */" , replace "".

since c++ (i think), 1 write regex not find 'escaped' comments.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -