Description:
In Eclipse IDE for Java Developers 2025-03 R, the XML formatter only formats selected text within the POM Editor.
When no text is selected and the format command is invoked (e.g., via Ctrl+Shift+F), no formatting occurs.
Steps to Reproduce:
- Download and install Eclipse IDE for Java Developers 2025-03 R.
- Create a new Maven project.
- Open the
pom.xml file using the POM Editor.
- Ensure no text is selected.
- Press
Ctrl+Shift+F or choose "Source > Format" from the menu.
Expected Behavior:
The entire pom.xml document should be formatted according to the configured formatting settings.
Actual Behavior:
No formatting occurs when no text is selected.
Additional Information:
- Eclipse Version: 4.35
- Wild Web Developer XML tools: 1.3.6.202409052135
- Operating System: Ubuntu 22.04 (x86_64)
- Java Version: OpenJDK 21.0.6
This behavior is unexpected, as typically, invoking the format command without a selection should format the entire document.
Please let me know if additional information is needed.