IBM Support

'Convert Line Delimiters to' action does not work

Technote (troubleshooting)


This technote explains an unexpected behavior of Eclipse. The "Convert Line Delimiters to" action does not work on certain kind of files. The file remains unchanged. No error message is generated.


The Convert Line Delimiters to action works only on text files.

Depending on the situation, this might be a defect, in which the IDE is not sure about the content type of the file. Review Eclipse Bug 321306 for more details.

Diagnosing the problem

Change the file extension to *.txt and verify that converting works as expected.

Resolving the problem

  1. Click Window > Preferences > General > Content Types.
  2. Expand the Text node from the tree on the right panel in the Content Types section.
  3. Click the Add button and enter the original extension pattern.
  4. Click the OK button.

Now the conversion works.

Note: If you think that the IDE should recognize certain extensions by default, you can report a bug.

Document information

More support for: Rational Elite Support for Eclipse
General Information

Software version: 3.2.1, 3.2.2, 3.3, 3.3.1, 3.3.2, 3.4

Operating system(s): Linux, Windows

Reference #: 1315284

Modified date: 18 November 2008