Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bulk way to comment all cout
Qt 6.11 is out! See what's new in the release blog

Bulk way to comment all cout

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 278 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.
  • K Offline
    K Offline
    kapabahwuk
    wrote on last edited by
    #1

    Is there a bulk way to comment all cout functions in current file opened in QT ?

    JKSHJ 1 Reply Last reply
    0
    • K kapabahwuk

      Is there a bulk way to comment all cout functions in current file opened in QT ?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @kapabahwuk said in Bulk way to comment all cout:

      Is there a bulk way to comment all cout functions in current file opened in QT ?

      You could do a bulk search-and-replace to replace std::cout with // std::cout

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      JonBJ 1 Reply Last reply
      2
      • JKSHJ JKSH

        @kapabahwuk said in Bulk way to comment all cout:

        Is there a bulk way to comment all cout functions in current file opened in QT ?

        You could do a bulk search-and-replace to replace std::cout with // std::cout

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @JKSH
        And hope that, e.g. code never passes it as a parameter... :)

        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