This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: bug: editing ccxml, adds newline to all lines

Part Number: CODECOMPOSER

Hi

This bug has been here for quite some time, And I finally got around to report it ;-)

If I edit a ccxml target config file using the GUI, each time i save it adds a newline to each line.

While it does not break any functionality in CCS, it is quite annoying as it ads a lot of noise to the version control, in these two cases:

  1.  During development I temporarily changed a setting. I.e. experimented with the TCLK Frequency, but returned to same setting.
    1. Now the version control, claims I did a change to the ccxml file, but upon closer inspection, it is only those extra newlines.
  2. I do make a change, and keep that change.
    1. Now the merge in version control is getting harder as I not see the actual change but also all the redundant extra newlines. Telling the diff tool to ignore white space takes away some noise but not all.

It has a strong smell of a bug in the handling of different line ending types (Dos/Unix).

To illustrate I made a few screenshots with the font set to ridiculous small, to get the broader picture in a screenshot.

Screenshot of noisy diff

The same diff except here i manually removed the redundant newlines.

CCS version (I have seen this in many older versions too)

Code Composer Studio
Version: 12.5.0.00007

OS: Windows 10, v.10.0, x86_64 / win32
Java vendor: Eclipse Adoptium
Java runtime version: 11.0.13+8
Java version: 11.0.13