Spring Tool Window
The Spring tool window lets you look at your project from the Spring perspective. It consists of two tabs:
Each tab consists of a set of panes where the contents of the selected item is shown in the pane to the right. The documentation (and, if applicable, a diagram) for the selected item is shown in the rightmost pane.
The toolbars in each tab control the amount and the type of data to be displayed.
The context menu commands allow you to switch between the panes and open items in the editor.
You can filter the information in the panes by entering a search string.
In this topic:
Beans tab
The Beans tab allows you to view definitions for the Spring beans used in your project, and see how they are related to other beans.
The leftmost pane shows a list of modules that your project consists of. When you select a module, the list of filesets (contexts) appears on the right. The next pane shows the list of configuration files included in the selected context. The next pane shows the list of Spring beans defined in the selected configuration file. The rightmost pane shows documentation for the selected bean, and a diagram that shows this bean's relation to other beans.
Beans tab toolbar
MVC tab
The MVC tab allows you to view controller mappings for the Spring MVC framework.
The leftmost pane shows a list of modules that your project consists of. When you select a module, the list of controllers that belong to this module appears on the right. The next pane shows the mappings defined for the selected controller. The rightmost pane shows documentation for the selected mapping.
MVC tab toolbar
Context menu commands
The context menu is available in all panes of the Spring Tool Window and the Spring Tool Window except for the documentation pane.
Command | Shortcut | Description |
---|---|---|
Previous | Left | Use this command to switch to the pane on the left of the current one. |
Next | Right | Use this command to switch to the pane on the right of the current one. |
Edit | Enter |
Use this command to view or edit the cource code for the selected item in the editor.
If a module is selected, this command opens this module's settings in the Project Structure dialog. |
Filtering information
You can filter data in any pane of the Beans tab and the MVC tab except for the documentation pane. Place the cursor in a pane and start typing. As a result, only the items whose names contain the specified string will be displayed.
Beans icons
The icons before the name of each bean in the list indicate the bean type:
-
: beans defined in XML files.
-
: Spring auto-discoverable beans declared through
@Component
annotations. -
: service beans added by the Spring framework and not defined explicitly by the user.