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.

This entry was posted in New Features and tagged , . Bookmark the permalink.

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

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">