CDI tool window
Note that this tool window is available only if there is a library that implements CDI (Context Dependency Injection) in the dependencies of one or more of your modules.
The CDI tool window provides a categorized hierarchical view of your CDI resources (beans).
At the top of the hierarchy are your modules. One level below are categories.
The categories correspond to bean types and qualifiers.
You can show or hide the categories. You can also open the elements shown in the tool window in the editor.
Show and hide categories
To show or hide a category, click on the title bar, and then click the necessary option.
The following options are available:
@Named: show or hide @Named beans (the elements annotated with
@Named
).Custom Qualifiers: show or hide the elements annotated with custom annotations.
Scope Types: show or hide scope types (the elements annotated with
@ApplicationScoped
,@SessionScoped
,@RequestScoped
, and so on).Deployment Types: show or hide deployment types.
Open elements in the editor
You can open the elements shown in the CDI tool window in the editor. To do that, select the element of interest and press F4.
To open the elements which are the "leaves" of the tree (that is, the ones at the bottom of the hierarchy), you can also use a double-click.