Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358809 - Do not formate the XML's comment in one line
Summary: Do not formate the XML's comment in one line
Status: RESOLVED INVALID
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 20:56 EDT by Lin ZuXiong CLA
Modified: 2011-09-26 09:54 EDT (History)
2 users (show)

See Also:


Attachments
XML content after formatting (27.10 KB, image/jpeg)
2011-09-24 20:58 EDT, Lin ZuXiong CLA
no flags Details
Plain XML content (33.87 KB, image/jpeg)
2011-09-24 21:00 EDT, Lin ZuXiong CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lin ZuXiong CLA 2011-09-24 20:56:57 EDT
Build Identifier: Version: Indigo Release Build id: 20110615-0604

I use XML Editor, and comment the content . 
I find the comment and the commented content in one line.


Reproducible: Always

Steps to Reproduce:
1.open XML file using XML Editor 
2.comment the content
3.formate the XML file content
4.find the comment and the commented content in one line
Comment 1 Lin ZuXiong CLA 2011-09-24 20:58:48 EDT
Created attachment 203963 [details]
XML content after formatting

plain XML content
Comment 2 Lin ZuXiong CLA 2011-09-24 21:00:34 EDT
Created attachment 203964 [details]
Plain XML content
Comment 3 Nick Sandonato CLA 2011-09-26 09:03:20 EDT
Hi. There is a preference under XML > XML Files > Editor to "Join lines" when formatting comments, which is enabled by default. You can disable reducing the number of lines in comments by unchecking "Join lines".