Eclipse - Search Menu

Searching the Workspace

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.
  • Clicking Ctrl + H.

The File Search page allows you to search any type of file but the Java Search page focuses on Java files only.

Java Search

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 Search.

The search result appears in the Search View.

Search View
Kickstart Your Career

Get certified by completing the course

Get Started