Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Editor not honouring Line Terminator setting - 23.1

Gareth SApr 24 2023 — edited Apr 24 2023

Hi,

For some reason it seems that SQL Developer Editor/Worksheet is not honouring the Line Terminator setting for new files, noticed in 23.1 but might have been occurring earlier. It's not a major issue but due to a mixed platform development where we have settled on Unix LF as the default it occasionally causes issues in git where someone creates the file in Windows (despite have Unix LF set) but it is later edited/saved in Unix format by someone else thus causing it to look like the whole file has changed.

The UTF-8 setting is honoured, and it is fine when the Windows user opens up a previously saved file that is in Unix LF it doesn't change the file contents in that case.

Have I missed another setting or is there a fix?

Just to be clear, in preferences it has been set:

However opening a new worksheet defaults back to Windows CR:

Many thanks

Gareth

Comments
Post Details
Added on Apr 24 2023
2 comments
318 views