It was a concious descision to not allow formatting in the
html templates. Constantly I get hosed by Dreamweaver when I
use its formatter. I end up with pages that render
differently in different browsers due to formatting
decisions made by the formatter.
After Spindle is ramped up to support Tapestry 3.0 I intend
to revisit the formatter and make it uber configuarble (like
the Java formatter in Eclipse 3.0+). At that point it will
make sense to allow formatting of html files.
long story - short version - currently auto formatting html
causes more problems than it solves so that's why you can't
do in Spindle today. That may change in the future.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=387057
It was a concious descision to not allow formatting in the
html templates. Constantly I get hosed by Dreamweaver when I
use its formatter. I end up with pages that render
differently in different browsers due to formatting
decisions made by the formatter.
After Spindle is ramped up to support Tapestry 3.0 I intend
to revisit the formatter and make it uber configuarble (like
the Java formatter in Eclipse 3.0+). At that point it will
make sense to allow formatting of html files.
long story - short version - currently auto formatting html
causes more problems than it solves so that's why you can't
do in Spindle today. That may change in the future.