Remove source file comments using IntelliJ?

后端 未结 6 1233
醉话见心
醉话见心 2020-11-29 16:47

Is there a plugin or tool in IntelliJ that will strip all comments out of your source .java files? I\'ve read about an ANT task that can do this.. was looking to do the sa

6条回答
  •  误落风尘
    2020-11-29 17:44

    Press control + r to open replace and replace all box

    type //.* in first box, keep in second box empty and then select Regex. Select replace or replace all

    That's it.

    Enjoy

提交回复
热议问题