JSF属性排序插件

JSF属性排序插件,jsf,coding-style,ide,Jsf,Coding Style,Ide,一,;我继承了一些写得很糟糕的jsf+richfaces标记,如下所示 <rich:comboBox selectFirstOnUpdate="true" suggestionValues="#{controller.getSuggestions}" id="someId" required="true" value="#{entity.value}" converter="#{valueConverter}" tabindex="42" styleClass="smallCombo"&g

一,;我继承了一些写得很糟糕的jsf+richfaces标记,如下所示

<rich:comboBox selectFirstOnUpdate="true" suggestionValues="#{controller.getSuggestions}"
id="someId" required="true" value="#{entity.value}" converter="#{valueConverter}"
tabindex="42" styleClass="smallCombo">
</rich:comboBox>

问题: 是否有任何IDE插件,我可以为其定义JSF(或XML-在此范围内相同)属性的顺序(例如,id总是第一位,-第二位,必需的-第三位),然后在格式化代码IDE时,不仅更正标识和换行符,而且还重新排序属性? 因此,我的组件将如下所示:

<rich:comboBox id="someId" value="#{entity.value}" required="true"
selectFirstOnUpdate="true" suggestionValues="#{controller.getSuggestions}" 
converter="#{valueConverter}" tabindex="42" styleClass="smallCombo">
</rich:comboBox>


如果您使用的是Eclipse,只需按Ctrl+Shift+F即可。@Luiggi:OP想要对属性重新排序(即
id
先等等),而不是格式化标记。@BalusC哦,对了,我的错。