Zaprite kodo v oklepaje ali narekovaje

Izberite kodo in vnesite enega od naslednjih začetnih znakov, da se na konec izbora doda ustrezen zaključni znak:

  • (
  • {
  • [
  • <
  • "
  • '

Če želite določiti, ali naj se ujemajoči znaki vstavijo samodejno, pojdite na Preferences > Text Editor > Completion in izberite možnosti v Automatically Insert Matching Characters.

Zavihek »Dokončanje« v nastavitvah urejevalnika besedila

Poleg tega Qt Creator samodejno vstavi zaključni znak predpone surovega nizovnega literala.

Glejte tudi Dopolnjevanje, Kako: Urejanje kode in Urejanje kode.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.