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. Configure highlighting of TODO
Forum Updated to NodeBB v4.3 + New Features

Configure highlighting of TODO

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 3 Posters 429 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.
  • H Offline
    H Offline
    Harjit
    wrote on last edited by
    #1

    In Qt Creator, when editing a C or C++ file, if I type:
    // TODO

    TODO is highlighted in yellow - see picture below.

    Where can I configure other words (FIXME WARNING ERROR BUG, etc.), also?

    de87d89b-46e2-4e1e-883f-4a6078c2302b-image.png

    aha_1980A JonBJ 2 Replies Last reply
    0
    • H Harjit

      In Qt Creator, when editing a C or C++ file, if I type:
      // TODO

      TODO is highlighted in yellow - see picture below.

      Where can I configure other words (FIXME WARNING ERROR BUG, etc.), also?

      de87d89b-46e2-4e1e-883f-4a6078c2302b-image.png

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Harjit,

      this is interesting - for me the TODO keyword is not highlighted.

      I've enabled the experimental TODO plugin and can configure the colors of the keywords, but this only affects the TODO pane, not the editor.

      So do you know if you already changed something?

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • H Harjit

        In Qt Creator, when editing a C or C++ file, if I type:
        // TODO

        TODO is highlighted in yellow - see picture below.

        Where can I configure other words (FIXME WARNING ERROR BUG, etc.), also?

        de87d89b-46e2-4e1e-883f-4a6078c2302b-image.png

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

        @Harjit
        Are you sure you are not currently searching for the string TODO in the editor? :) It highlights matches in yellow....

        H 1 Reply Last reply
        0
        • JonBJ JonB

          @Harjit
          Are you sure you are not currently searching for the string TODO in the editor? :) It highlights matches in yellow....

          H Offline
          H Offline
          Harjit
          wrote on last edited by
          #4

          @JonB - you are correct.

          @A-K-A-S-H - my mistake.

          Thank you both!

          Feeling very sheepish now...

          Is there a way to have some special keywords colored in the editor pane? I tried to setup the KDEHighlight keywords path but didn't make much headway there.

          1 Reply Last reply
          0
          • H Harjit has marked this topic as solved on

          • Login

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