admin管理员组文章数量:1224405
Suppose I have Javadoc comment with:
/**
* <ul>
* <li>stuff</li>
* <li>stuff</li>
* </ul>
*/
When I run any of the eclipse formatting methods on this text, either as "Format Element" or "Format the selected Text", it removes the indenting of the HTML sub-elements and I get:
/**
* <ul>
* <li>stuff</li>
* <li>stuff</li>
* </ul>
*/
Depending on list complexity, the result is much harder to read than the indented version.
Is there a means to instruct eclipse to be kinder to HTML tag indenting other than completely stopping it to format Javadoc?
本文标签: javaEclipse indenting of nested HTML tags in Javadoc commentsStack Overflow
版权声明:本文标题:java - Eclipse indenting of nested HTML tags in Javadoc comments - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739328171a2158350.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论