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. Qt Creator TODO plugin Tutorial
Forum Updated to NodeBB v4.3 + New Features

Qt Creator TODO plugin Tutorial

Scheduled Pinned Locked Moved General and Desktop
todo pluginqt creator
10 Posts 6 Posters 11.7k 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.
  • P Offline
    P Offline
    phlucious
    wrote on last edited by koahnig
    #1

    I've noticed other posts around the web mentioning the existence of Dmitry Savchenko's Todo Plugin for Qt Creator (Add it in Creatir 2.5 by Help -> About Plugins... -> Utilities -> Todo). I can't quite figure out how to use it optimally.

    I've figured out that I can flag comments with TODO and they'll come up in the To-Do Entries Pane, but what else can I do?
    @int hi = 9; //TODO: make this do stuff@

    Are there instructions or a tutorial for this handy tool anywhere?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Once you've enabled the plugin, you should have a "To-Do" item in your Tools->Options... dialog box.

      In it, you can create, edit, and delete different keyword filters which the plugin will scan for. Off the top of my head, I think there are filters for BUG, FIXME, NOTE, and TODO. Maybe others, I can't remember. You can edit each keyword to set the display color and the icon shown for each item in the "To-Do Entries" output window.

      You can also set the scope for whether it only parses the currently open files or parses the entire project.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        phlucious
        wrote on last edited by
        #3

        That's a good starting point. Thank you!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Abhy
          wrote on last edited by
          #4

          I am able to see plugin in (Help - > About Plugins - > Utilities - > Todo) but there is no “To-Do” item in my Tools->Options… dialog box. I am using Qt Creator 2.4.1. Plz tell me how to enable this plugin and how to create the todo list?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Abhy: You will need to upgrade to a version of creator that has the plugin. IIRC it was added in the 2.5 timeframe... just grab the most recent version and you are fine.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Abhy
              wrote on last edited by
              #6

              Hi Tobias,
              Thanks for your reply , but i have a doubt here. I am using Windows 7 and i read in same forum that creator 2.5 is quit without asking anything. It was crashing all the time. Do you think upgrading version of creator is good idea?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Abhy: If something does not work, then please file a bug report so that we can fix it!

                I am using Qt creator from the master branch all the time, so I might be the wrong person to ask for advice whether upgradig is a good idea or not;-)

                1 Reply Last reply
                0
                • U Offline
                  U Offline
                  utcenter
                  wrote on last edited by
                  #8

                  @Tobias - is there perhaps a way to split view the output panes so it can show more than one pane at a time?

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Larpon
                    wrote on last edited by
                    #9

                    I can't get it to scan .js files - does anyone know howto do that?

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      Larpon
                      wrote on last edited by
                      #10
                      This post is deleted!
                      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