IntelliJ IDEA 15.0 Help

Using Spring Bean Templates

IntelliJ IDEA provides a rich set of Spring bean templates that enable quick creation of various kinds of beans.

To add a template bean

  1. Place the caret within the Spring configuration file, and press Alt+Insert.
  2. In the Generate menu, select Template Beans | <template-group> | <template-name>. For example, Template Beans | Common Beans | Resource Factory Bean.
  3. IntelliJ IDEA guides you through creating a bean. You need only to select the desired values for bean attributes.

See Also


Language and Framework-Specific Guidelines:

Last modified: 5 November 2015