0
当我在Eclipse(Indigo)中格式化我的JSF标记时,我观察到相当短的代码行被分解成更多的行。Eclipse JSF编辑器配置
让我用一个例子来说明这个问题,只要看看下面的标记:
bgcolor="<h:outputText
value="#{formBean.colorPreferences.background}"/>"
text="<h:outputText
value="#{formBean.colorPreferences.foreground}"/>
上述标记被分成了4线(格式化后),但是,我更喜欢格式化标记是为如下:
bgcolor="<h:outputText value="#{formBean.colorPreferences.background}"/>"
text="<h:outputText value="#{formBean.colorPreferences.foreground}"/>
有什么办法根据我的喜好配置Eclipse编辑器吗?
准确答案!谢谢! – siva636