I'm trying to modify the "Actionscript Class with Supers" File Template, but Intellij doesn't honor the line returns:
#parse("ActionScript File Header.as")
package ${PACKAGE_NAME}#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "") #end
{ ${Access_modifier} class ${NAME} #if (${Superclass} && ${Superclass} != "")extends ${Superclass}#end #if (${SuperInterfaces} && ${SuperInterfaces} != "")implements #foreach( $i in ${SuperInterfaces} ) #if ($foreach.count > 1),#end $i #end#end { public function ${NAME}() { #if (${Superclass} && ${Superclass} != "")super();#end } }
}
Results in:
package events { import flash.events.Event; public class MyEvent extends Event { public MyEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) { super(type, bubbles, cancelable); } }
}
Why are the braces on the same lines as 'package events' and 'public class ExporterConfigViewPM extends Event'? The "Reformat according to style" checkbox seems to have no effect.
Thanks