- Qt Creator Manual
- Enclose selected code in curly braces, parentheses, or double quotes
- Qt Creator Manual 12.0.2

How To

# Enclose selected code in curly braces, parentheses, or double quotes

When you have selected code and enter one of the following opening characters, the matching closing character is added automatically at the end of the selection:

- {
- (
- "

To specify whether to automatically insert matching characters, select Preferences > Text Editor > Completion.

See also Completing Code.

How To