Java development tool eclipse tips global search and replacement

This paper mainly studies the global search and replacement in eclipse. Let's take a look at the specific operation methods.

Eclipse global search steps

Use the shortcut key "Ctrl + H" to open the file search dialog box, select the "file search" tab, enter the string you want to search in the containing text, select the scope you want to search in the scope, and click search.

In the search view, the search results will be listed, and click to open the attribute structure. Double click the search structure to display the search results in the source code.

Eclipse global replace steps

After the target string is searched globally, in the search view, select the searched target string, right-click - > replace all to open the dialog box. In with:, fill in the string to be changed. Click the replace button.

summary

The above is all about the global search and replacement of java development tool eclipse. I hope it will be helpful to you. Interested friends can continue to refer to other related topics on this site. If there are deficiencies, please leave a message to point out. Thank you for your support!

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
分享
二维码
< <上一篇
下一篇>>