I need to search throughout the work-space for all files containing "String1" or "String2".How to achieve this in eclipse search ?
Use the built-in Eclipse Search dialog. The Search menu contains multiple items (Search→ Search, Search→ File, Search→ Help, and Search→ Java), but all of them open the same dialog.
Ctrl + Alt + G can be used to find selected text across a workspace in eclipse.
Ctrl+H opens the search dialog which you can use to search for packages. Show activity on this post. Click on the root package and start typing the name of the package you are looking for.
Search
-> File...
In Containing text
enter String1|String2
and check Regular expression
. As scope
you have to select Workspace
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With