eclipse code format setting
1). For Java: sets java code style in eclipse
windows->preferences->java->Code style->Formatter
add a new profile , for more detail, test it in eclipse please
2). For Ant: sets build.xml in eclipse
windows->preferences->Ant>Editor->Formatter
uncheck [Use tab character instead of spaces] option.
3). For Html:
windows->preferences->Web and XML->HTML Files->HTML Source
select “Indent using tabs" and set space =2
4). For XML:
windows->preferences->Web and XML->XML Files->XML Source
select “Indent using tabs" and set space =2