If you call Roaster.format() passing as an argument the Eclipse formatter profile XML it
should format as you wish. You could implement it as a ResourceListener and monitor new
resources using the ResourceMonitor feature, or after every command execution using a
CommandExecutionListener.
Em 26/01/2015, às 10:04, Ivan St. Ivanov
<ivan.st.ivanov(a)gmail.com> escreveu:
Hi folks,
During my recent Forge talk for the Barcelona JUG I was asked whether it is possible to
change the formatter that is currently used by Forge for the generated classes. At the
moment the generated code is with 3 spaces indentation and with opening braces on the next
line. Which is not what everybody uses.
So, how can we change that configuration?
Thanks,
Ivan
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev