Changing Line Endings

UNIX, Windows, and Mac OS use different characters to denote the end of a line in a text file. Project Builder can open text files that use any of these line endings, and, by default, preserves line endings when it saves text files. However, other utilities and editors may require that a text file use specific line ending characters.

To change a file's line endings:

To choose the default line endings for new files:

To change a file's line endings when it's saved:

To preserve a file's line endings when it's saved:

Generally, you won't need to worry about line endings. Here are some guidelines to keep in mind when deciding which line endings to use: