Generating Bean Properties in Spring Contexts

April 8th, 2009 by serega.vasiliev

With IntelliJ IDEA you can easily generate multiple properties in your Spring application contexts. Just invoke Generate action by pressing Alt+Insert inside of a bean tag and select properties you want to generate.



IntelliJ IDEA analyzes property types and invokes an appropriate Live Template for each of the properties you selected.

Tags: ,

2 Responses to “Generating Bean Properties in Spring Contexts”

  1. Cary Says:

    For those of us who don’t have Insert on our keyboards (Mac users)… what is the keyboard command? Is there a way to trigger the Bean Generation menu via the main menu bar or something?

  2. Cary Says:

    For those who may have my question in the future: The Mac keybinding for the “Alt+Insert” functionality in IDEA is Control+Enter.

Leave a Reply