Hmmm, alternate templates just to change brace indenting isn't really what I was imagining.
I use IntelliJ IDEA as my editor, and like many editors, it has Code Style settings, customizable by language, which can be applied to code that's already written. I wonder if there are "pluggable" versions of that sort of functionality. If so, the ability to process the existing templates through something like that would be pretty nice.
OTOH, it's not that important, since IDEA can do it after the fact. Would be cool though :)
Dave
On Tuesday, September 19, 2017 at 10:41:25 AM UTC-4, Brad Wood wrote:
The coldbox create app command can be pointed at any endpoint so you can have a custom app skeleton if you want. However the commands like coldbox create handler aren't customizable. This has been suggested before
Please add any thoughts or suggestions to that ticket, or feel free to take a stab at it and offer a pull request. Minimally, a user could specify an external directory of templates for the scaffolding commands to look at. It would be sort of messy, but it would work. There's quite a few individual template files especially with the tag and script version of everything.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp