-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Integrate/Add XML Linting #140
Comments
I'm not aware of one, but you could make one by reading an XML file into memory, then writing it back out. |
I think just reading and writing back is not really so easy. |
Just an aside, eclipse is working on publishing its releases on maven. Right now we have |
We could already start with |
Good plan! |
@nedtwigg I am afraid my memory on the subject was not very complete. I assumed that the ANT XML and its XmlFormatter is the right choice. But actually the WTP-WST DefaultXMLPartitionFormatter is the one with all the advanced configuration options. |
Publishing another fat-jar sounds great. |
I am looking to format all JSF code files ( *.xhtml ) with a consistent indent using either tabs or spaces. Does that fall under this request ? |
Yes. The Eclipse WTP can do that. |
What is the holdup on merging in #241 ? I assume that is what is needed for me to format my JSF *.xhtml using spotless. |
@mores Sorry that I cannot spend as much time on the project as I would like to... |
Provided an example for XML formatting. Feedback is welcome. |
Fixed with #293. |
Guys, where can I find the configurations or examples for xml formatting. |
Many projects have large XML files (for spring or even for checkstyle configuration).
I haven't found a good java based XML formatter but if anyone knows of one it would be great to add.
The text was updated successfully, but these errors were encountered: