Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. SWAP comments in Qt Creator
Forum Update on Monday, May 27th 2025

SWAP comments in Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
qt creatorshortcut
1 Posts 1 Posters 616 Views
  • 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.
  • L Offline
    L Offline
    louis
    wrote on last edited by
    #1

    Hi,

    is there a way to swap comments in Qt Creator?

    whenever i want to write a variable i have the original line:
    variable = function1(x);
    For testing, sometimes i want to set this Variable to an integer, and to make it easy i always type
    variable =0; // function1(x);
    is there a easy way/shortcut to swap these two comments?

    regards

    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 Extensions
    • Unsolved