Is there a "Find in Files" shortcut in Eclipse?
Solution 1:
select workspace and press Ctrl-H
Which dialog is selected, depends on which file type is selected in the Project Explorer view. For example, if you selected a .js file and press Ctrl-H, it will bring up the dialog with the "Javascript Search" tab selected. If you want to search all files, you can press Ctrl-F7 to select the Project Explorer view, use arrow keys to select a folder above your files, then press Ctrl-H (or select a file, whose type doesn't trigger a custom dialog tab).
Solution 2:
Thanks to the other two solutions, but here is the complete answer I was looking for, which addresses how I search all the text within the files, not just types, methods, packages, constructors, and fields:
- Ctrl+H to open the "Search" dialog box
- "File Search" tab, if it does not appear, expand the window or use the left/right arrows
- type in the text to search for
- Use "*.java", in my case since I am coding in Java, to search just these files
- Click "Search"
Solution 3:
If you are using only the File Search, you can Disable all other Searches in the Search Panel (Customize... lower left Corner). Then you have the File Search everytime you Press Ctrl+H