Enclose code in brackets or quotes | Qt Creator Documentation

- Qt Creator Documentation
- Enclose code in brackets or quotes
- Qt Creator 17.0.1

How To

# Enclose code in brackets or quotes

Select code and enter one of the following opening characters to add the matching closing character at the end of the selection:

- (
- {
- [
- <
- "
- '

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

See also Completion, How To: Edit Code, and Edit Mode.

How To