- Qt Creator Manual
- Specifying Editor Settings
- Qt Creator Manual 6.0.2

Specifying Run Settings ◦ Specifying Code Style Settings

# Specifying 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.

You can configure the text editor according to your needs. You can specify editor behavior either globally for all projects or separately for each project. To specify global editor behavior, select Tools > Options > Text Editor > Behavior.

To configure the text editor behavior for the current project:

1. Select Projects > Project Settings > Editor.
2. In the Editor settings field, select Custom.
3. Specify text editor settings for the project.

Click Restore Global to revert to the global settings.

For more information about the settings, see:

- Indenting Text or Code
- File Encoding
- Selecting Line Ending Style
- Moving to Symbol Definition or Declaration
- Configuring Fonts
- Highlighting and Folding Blocks
- Viewing Function Tooltips