Make Unix line ending default on Windows

For my sins I work over a network. At the other end is Linux. On my machine is Windows. When a create (say) a Bash script, Komodo puts a CRLF after #! /bin/bash. This is not the desired behaviour. Can I assign line endings to type of file or globally?

This is Komodo 9 IDE

– Peter

Thanks - sorted

Komodo auto-detects the line ending for any existing files, you can change the line ending of a file by right clicking the tab, selecting “File Preferences” and then changing the “Line Endings” option.

For new files you can change the default end of line indicator under Preferences > File Opening. You will need to enable the “Show Advanced” option at the bottom left corner of the Preferences window.

1 Like