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
Post a Comment