Tag Archives: Code Generation

Maven Generate actions for pom.xml editor

Try the last EAP of IntelliJ IDEA 9.0.2 to test new ‘Generate’ actions for Maven pom.xml editor.  Type “Alt+Insert” to invoke the “Generate…” popup menu and select an action to run. IntelliJ IDEA actually runs live template inside to complete the code … Continue reading

Posted in New Features | Tagged , | 2 Comments

More intelligence for web.xml editor

With IntelliJ IDEA 9.0.2 you can enjoy editing web.xml with the new initial parameters support. IntelliJ IDEA now collects parameter names and is also aware of parameter values types. This allows the IDE to generate (with Alt-Insert), complete, highlight and validate … Continue reading

Posted in New Features | Tagged , , | 1 Comment

Generate Persistence Mappings by Database Schema

The upcoming IntelliJ IDEA 8.1.1 includes a new option to generate separate XML mapping per entity.

Posted in New Features | Tagged , , , | 1 Comment

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 … Continue reading

Posted in New Features | Tagged , | 2 Comments

Generating Persistence Mappings from Database Schema

With IntelliJ IDEA you can quickly generate persistence mappings from any database schema. This feature is not so easy to find, so here’s the tip:

Posted in New Features, Tips & Tricks | Tagged , , , | Leave a comment

HQL Console with Pure JPA Facets

In IntelliJ IDEA HQL console can be used with pure JPA facets (as well as with Hibernate facets) to run JPAQL and HQL queries. All you need is Hibernate libraries and JDBC driver in a module classpath. If persistence.xml contains … Continue reading

Posted in Tips & Tricks | Tagged , , , | 5 Comments

Generating Spring Bean Dependencies

You can easily generate setter or constructor dependency to any Spring Bean from your application contexts. Just press Alt+Insert or select Generate from the Code menu, then select appropriate dependency type, and then select a bean.IntelliJ IDEA will correctly update … Continue reading

Posted in Tips & Tricks | Tagged , , | Leave a comment