Kód zárójelekbe vagy idézőjelek közé helyezése

Jelölje ki a kódot, majd írja be az alábbi nyitó karakterek egyikét, hogy a kijelölés végére a hozzá tartozó záró karakter kerüljön:

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

Ha meg szeretné adni, hogy az egyező karaktereket automatikusan illessze-e be a rendszer, lépjen az „ Preferences ” > „ Text Editor ” > „ Completion ” menüpontra, és válassza ki a kívánt beállításokat a „ Automatically Insert Matching Characters ” menüpontban.

A „Befejezés” fül a Szövegszerkesztő beállításaiban

Ezenkívül a Qt Creator automatikusan beilleszti a nyers karakterlánc-literál előtagjának záró karakterét.

Lásd még: Kiegészítés, Hogyan: Kód szerkesztése és Kód szerkesztése.

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.