Adding carriage return to end of file

Alexx

Member²
Hello

I'm facing a problem with automatic adding carriage return to the end of file after saving it. Because of this, the file is considered as changed when it has no changes. Or I see extra changes in SVN after commiting.

Thank you.
 
In which type of window are you saving the file (command/program)? The program window adds a slash (/) at the end of the file. Try to edit the file in a command window.
 
1. Create any file with no carriage return in the end
2. Drag & Drop it to PL/SQL Developer (or use File/Open/SQL Script)
3. Press Ctrl+S
4. Close PL/SQL Developer and see the brand new carriage return that you did not enter in fact.
 
Back
Top