ResourceBundle Search
When you work on big projects with complex resource files, it may quickly happen that you forget to remove or add a key into the resourceBundle. For this reason JInto offers a search function with which you can search for unused or undefined keys in a resourceBundle.
You can also search for references of a key in Java files by clicking right on a key in the ResourceBundle editor and select 'Search by Reference'.
The following tutorial shows a sample resourceBundle search.


You must first open the resourceBundle search. You can do this by clickingCTRL+H in a resourceBundle editor, or select Search > ResourceBundle....  
If the currently selected item in eclipse is a resourceBundle editor or a resource file, the resourceBundle search automatically selects the resourceBundle in the search dialog.
You can also select the resourceBundle manually in the dialog. You first have to select the project where the resourceBundle is located. Click on Choose... next to the project text field. Here you can select one of the project's which contains resource bundles.

Tipp: use CTRL+Space to choose a project with auto completion.
After selecting a project you have to select the resourceBundle. Please open the resourceBundle dialog by clicking on Choose... next the resourceBundle text field. Here you can select one of the resource bundle in the selected project.
If the resourceBundle is not configured in the project (see JInto Property PageJInto Property Page), an error is shown under the text field's.

Tipp: use CTRL+Space to choose a resourceBundle with auto completion.
The next step is the search options selection. You can choose between General search or Reference Search. In the General Search you can search for unused, undefined and indeterminable keys.
Unused Keys are keys in the resourceBundle which are not used in the .java files searched, Undefined Keys are referenced in the .java files but don't exist in the resourceBundle. And Indeterminable Keys are references in .java file which the program cannot resolve (variables, anything that will only be known at runtime of the application).
A Reference Search searches for all references of one key in the selected resource bundle. You can choose the key from a dialog or enter the text manually.
The last step of the search is the selection of the search scope. Here you can chose between Workspace, Selected Resources, Enclosing Projects and one or more Working Sets.
Now you can start the search. The result will be shown in the Eclipse Search view. The search can also be done in background.
The result is structured in three groups: Unused Keys, Undefined Keys and Indeterminable Keys. If there is no result for one group or you haven't selected the group in the search dialog, there is no node in the Search view.
A Reference Search shows the java elements which references the key.