Generating Bean Properties in Spring Contexts
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.
Comments below can no longer be edited.
Cary says:
December 5, 2011For 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?
Cary says:
December 5, 2011For those who may have my question in the future: The Mac keybinding for the “Alt+Insert” functionality in IDEA is Control+Enter.