Re: Formatting ftl files

2009-08-31 Thread Nicolas
Hi scott, it's a good idea, I use this method this few month. The problem, on large file, it's difficult to use double formating and I don't found a good assistant to do an auto-format. If I have been many time I rewrite the actual ftl helper for eclipse but It's not the case. Nicolas Scot

Re: Formatting ftl files

2009-08-31 Thread Chirag Manocha
+1 Scott. I have suffered a lot with this pain in some of my customized projects. For highly confusing code for the same can also be seen in sidedeepcategory.ftl . I also prefer to indent html tags separately and ftl tags separately. Regards -- Chirag Manocha Scott Gray wrote: Hi All, I al

Formatting ftl files

2009-08-31 Thread Scott Gray
Hi All, I always find freemarker templates to be a real pain to try and inspect because the ftl and html code is indented together even though they represent different markup. What does everyone think about formatting the files so that ftl code is indented independently from the output?