搜索工作區
The Eclipse search dialog box allows you to search for files that contain a literal or a character pattern in the entire workspace, a set of projects, a specific project or folders selects in the package explorer view.
The search dialog box can be invoked by:
- Clicking on the Search menu and selecting Search or File or Java
- Pressing Ctrl + H
The File Search page allows you search any type of file but the Java Search page focuses on only Java files.
For example to search for usage of the Person type, in the Java Search page:
- Enter Person into the search box
- Set the search for radio button to Type
- Set the limit to radio button to References
- Click on Search
The search result appears in the Search View.