lwang7212 / veloeclipse

Automatically exported from code.google.com/p/veloeclipse
Other
0 stars 0 forks source link

Option to configure auto indentation #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit any html file with velocity markup
2.
3.

What is the expected output? What do you see instead?

The autoindent feature, while useful is not always desirable. The main
problem is that the indentation is not configurable (e.g. indent with
tabs/spaces, how many spaces). It should at least be possible to disable
the autoindent altogether.

What version of the product are you using? On what operating system?

Veloeclipse 2.0.8 with Eclipse 3.5

Please provide any additional information below.

Original issue reported on code.google.com by dssjob...@gmail.com on 26 Jun 2009 at 7:09

GoogleCodeExporter commented 9 years ago
I would also like to add that the #elseif directive should not cause an indent

currently it formats to:
#if
    stuff
    #elseif
         stuff
         #elseif
              stuff
#end

It should be(in my opinion)
#if
    stuff
#elseif
    stuff
#elseif
    stuff
#end

Original comment by davidj.j...@gmail.com on 11 Mar 2010 at 4:11