Select line ending style | Qt Creator Documentation

- Qt Creator Documentation
- Select line ending style
- Qt Creator 19.0.1

Edit like in Vim ◦ Specify code style

# Select line ending style

To switch between Windows line endings (CRLF) and Unix line endings (LF), select the ending style on the editor toolbar (3) in the Edit mode.

To hide this field, go to Preferences > Text Editor > Display, and clear Display file line ending.

## Set default style

To set the line endings to use for all projects by default, go to Preferences > Text Editor > Behavior and select the ending style in Default line endings.

To set the line endings to use for a project, go to Projects > Project Settings > Editor.

See also How to: Edit code, Specify editor settings, and Editing code.

Edit like in Vim ◦ Specify code style