Search for commented-out code across files in Eclipse

前端 未结 6 1356
滥情空心
滥情空心 2021-02-08 13:57

Is there a quick way to find all the commented-out code across Java files in Eclipse? Any option in Search, perhaps, or any add-on that can do this?

It should be able to

6条回答
  •  醉话见心
    2021-02-08 14:25

    You can do a search in Eclipse.

    All you need to search for is /* and //

    However, you will only find the files which contain that expression, and not the actual content which I believe you are after.

    However, if you are using Linux you can easily get all the comments with a one liner.

提交回复
热议问题