I want to find a string in eclipse, but many files cannot be opened one by one and then Ctrl + F ~ For online query, It is Ctrl + H, but there is no more ~ It took a while to complete the experiment.
After Ctrl + H, a search box will appear, with several tabs (my eclipse is 3.5). I guess what it is in English. This is misleading ~ That filesearch, I thought it was through the file name to find the file ......
Currently, you have used the function of the filesearch tab.
========================
On the filesearch tab, take a closer look at the first line. containing text: This is used to find the text contained in the file, no matter what type. You can also select case sensitive and use regular expressions.
Then there is a scope below, you can customize the search range, select working set, the input box is followed by choose, a select type box will be displayed, I just find the source file, select a resource. If you do not know what other items mean, click Next to display all the items in your workspace. Check the checkbox in front of the resource, or open the project to define a smaller scope. After defining a search range, you need to name it and return to the top layer to search for it.