Java – how to comment that all lines contain some text in eclipse

I'm using eclipse to cook Java Now, when I want to comment on all lines containing specific text / variables, I have encountered this problem several times Is there any way?

Solution

You can use regular expressions to find / replace as in the current picture (replace DIV)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>