3
Eclipse版本:Indigo服務版本2Eclipse XML格式化程序插入不需要的換行符
我無法讓我的XML格式化程序完成正確的工作。
當我申請格式化這個
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
我得到這個
<execution>
<id>
compile
</id>
<phase>
compile
</phase>
<goals>
<goal>
compile
</goal>
</goals>
</execution>
我希望它這樣的格式:
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
我XML -> XML Files -> Editor
但沒有嘗試過不同的選擇似乎工作。
謝謝。