Generating Bean Properties in Spring Contexts

Posted on 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.

Comments below can no longer be edited.

2 Responses to Generating Bean Properties in Spring Contexts

  1. Cary says:

    December 5, 2011

    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:

    December 5, 2011

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

Subscribe

Subscribe for updates