Code Template with Fields

I am new to intellij and I was wondering if there is a template mechanism where I can select a few fields and it can generate various codes snippets, e.g. print them, or create toString, or hql, etc.
I wrote an eclipse plugin that does that. The details can be found here : Is it worth porting it to intellij?

Comment actions Permalink

Thanks, but it looks like eclipse code templates. Can it do what has been described in this blog :


Comment actions Permalink

Ah, I see now.

IDEA has the most used cases covered (generate equals, hashCode, toString), but there is no generic facility to generate code from the current class' fields. So go for it!


Please sign in to leave a comment.