Removing carriage returns

rdelong
Posts: 71
Joined: Tue Oct 21, 2014 10:01 pm

Removing carriage returns

Post by rdelong » Wed Mar 20, 2019 2:15 am

I love the pretty-print feature! It makes the XML structure so readable. However, the extra carriage returns and whitespace (spaces) is causing issues with our CCMS. Is there a way to quickly (i.e. a button) to remove said whitespace and returns from our files, so that they are compact for checkin?
Like an un-pretty-print button.

Radu
Posts: 6211
Joined: Fri Jul 09, 2004 5:18 pm

Re: Removing carriage returns

Post by Radu » Wed Mar 20, 2019 9:24 am

Hi Rick,

If you want everything to be on one line, in the Text editing mode select the entire content, right click, "Source->Join and Normalize Lines".

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply