IntelliJ IDEA 14.0.0 Web Help

CDI Tool Window

To open this tool window:
View | Tool Windows | CDI
See also, Showing a tool window.

Note that this tool window is available only if there is a library that implements CDI 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.

Showing and hiding categories

To show or hide a category, click viewMode on the title bar, and then click the necessary option.

show_options_for_cdi

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, etc.).
  • Deployment Types. Show or hide deployment types.

Opening 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 (i. e. the ones at the bottom of the hierarchy), you can also use a double click.

See Also

Language and Framework-Specific Guidelines:

Getting Started:

Web Resources:

Last modified: 4 December 2014
comments powered by Disqus