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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -