Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator snippets
Qt 6.12 LTS is out! See what's new in the release blog

QtCreator snippets

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreator
1 Posts 1 Posters 440 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GrahamLa
    wrote on last edited by
    #1

    Hi
    I wanted to change the code snippet for 'if' statement generation,
    In Options->TextEditor->Snippets I changed the definition of the if statement from

    if ($condition$) {
        $$
    }
    

    to

    if ($condition$)
     {
        $$
    }
    

    But when I code complete on an if statement the original form is used.

    Is there anywhere else that I have to change something?

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved