How to delete all comment lines in IDEA?
keyboardShortcut
Control + R - Replace
Type -->
\s//.*
Select .* in right top of replace window . then it will select all comment like this --> //
Thank you @Bas Leijdekkers
You could use Find & Replace (Ctrl/Cmd+R).
Search In Comments Only (option under the little cog menu), enable regex search and search for string ^//.*
. Replace with the empty string.