Search actions
Search menu commands:
Name
Function
Keyboard Shortcut Search...
Opens the search dialog
Ctrl + H File...
Opens the search dialog on the File search page
Help...
Opens the search dialog on the Help search page
Java...
Opens the search dialog on the Java search page
References
Finds all references to the selected Java element
Declarations Finds all declarations of the selected Java element Implementors Finds all implementors of the selected interface. Read Access Finds all read accesses to the selected field Write Access Finds all write accesses to the selected field Occurrences in File
Finds all occurrences of the selected Java element in its file
Ctrl + Shift + U Search Scopes Submenu:
Scope
Availability Description
Workspace
all elements Searches in the full workspace
Project
all elements Searches in the project enclosing the selected element
Hierarchy
types and members Searches in the type's hierarchy
Workings Set
all elements Searches in a working set
Scopes can be saved and names in the working set dialog. Existing instances of working sets are also available in the Search Scope submenu
A Java search can also be conducted via the context menu of selected resources and elements in the following views:
- Package Explorer
- Outline view
- Search result view
- Hierarchy view
- Browsing views
The search context menu is also available in the Java editor. The search is only performed if the currently selected text can be resolved to a Java element.
The type of the selected Java element defines which search context menus are available. The Java editor does not constrain the list of available Java searches based on the selection.
Conducting a Java search using the search dialog
Conducting a Java search using pop-up menus