Anybody knows anything on how to write custom gene...
# announcements
a
Anybody knows anything on how to write custom generators (like constructor or hashcode that are already present by default) in IntelliJ? Probably related to Velocity? Could use some help in #intellij-tricks
Still looking for some help on how to write custom generators similar to those that IntelliJ generates for constructor and toString(). Thanks
g
I was doing it via custom plugin, not sure if there is an out of the box solution.
c
Have you looked at Live Templates? That’s my go-to for quick code generation https://www.jetbrains.com/help/idea/using-live-templates.html
a
Live templates don't solve my problem, I need access to defined properties of a class and iterate through them
g
DM me if you need an example of how it's done via IntelliJ plugin