Specify editor settings | Qt Creator Documentation

- Qt Creator Documentation
- Specify editor settings
- Qt Creator 19.0.0

Specify dependencies ◦ Specify project contents

# Specify editor settings

Qt Creator uses the MIME type of the file to determine which mode and editor to use for opening the file. For example, Qt Creator opens `.txt` files in Edit mode in the text editor.

To configure the text editor behavior for the current project:

1. Select Projects > Project Settings > Editor.
2. Clear Use global settings.
3. Specify text editor settings for the project.

Select Restore Global to revert to the global settings.

See also Configuring fonts, Change text encoding, Indent text or code, View function tooltips, and Configuring editors.

Specify dependencies ◦ Specify project contents