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.

"Completion preferences"

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