Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. //TODO: Comment parser

//TODO: Comment parser

Scheduled Pinned Locked Moved The Lounge
algorithmsquestion
10 Posts 6 Posters 0 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.
  • S Offline
    S Offline
    StevenWalsh
    wrote on last edited by
    #1

    I saw an article on here a long while ago for a program that would parse code searching for //TODO: comments and place them in a convienent listbox. I've fallen behind on documenting these... so it would be nice to have this right about now :) Any clues?

    C C P 3 Replies Last reply
    0
    • S StevenWalsh

      I saw an article on here a long while ago for a program that would parse code searching for //TODO: comments and place them in a convienent listbox. I've fallen behind on documenting these... so it would be nice to have this right about now :) Any clues?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I thought the IDE did that anyhow ?

      Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

      1 Reply Last reply
      0
      • S StevenWalsh

        I saw an article on here a long while ago for a program that would parse code searching for //TODO: comments and place them in a convienent listbox. I've fallen behind on documenting these... so it would be nice to have this right about now :) Any clues?

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        Not the same article but here is a Ruby version[^]. Bang it into rake (like make) and it could work for you.

        regards, Paul Watson Ireland & South Africa

        Fernando A. Gomez F. wrote:

        At least he achieved immortality for a few years.

        1 Reply Last reply
        0
        • S StevenWalsh

          I saw an article on here a long while ago for a program that would parse code searching for //TODO: comments and place them in a convienent listbox. I've fallen behind on documenting these... so it would be nice to have this right about now :) Any clues?

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          Isn't that built in to Visual Studio? (Menu) Tools-->Options... (Tree) Environment-->Task List Details from MSDN[^]

          Recent blog posts: * Event Organisation (Feedback) * LINQ to XML (part 4) * Scottish Developers June Newsletter My Blog

          S 1 Reply Last reply
          0
          • C Colin Angus Mackay

            Isn't that built in to Visual Studio? (Menu) Tools-->Options... (Tree) Environment-->Task List Details from MSDN[^]

            Recent blog posts: * Event Organisation (Feedback) * LINQ to XML (part 4) * Scottish Developers June Newsletter My Blog

            S Offline
            S Offline
            StevenWalsh
            wrote on last edited by
            #5

            I never knew about that, that is awesome. Now i feel bad for writing my own (it only took about 10 min... so not to bad)

            D 1 Reply Last reply
            0
            • S StevenWalsh

              I never knew about that, that is awesome. Now i feel bad for writing my own (it only took about 10 min... so not to bad)

              D Offline
              D Offline
              Daniel Flower
              wrote on last edited by
              #6

              But it only shows the tasks from files you have open, so if you want to view all the TODOs in your solution, you need to open every file, no?

              C S 2 Replies Last reply
              0
              • D Daniel Flower

                But it only shows the tasks from files you have open, so if you want to view all the TODOs in your solution, you need to open every file, no?

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #7

                I think they fixed that in 2008 - I don't know, I don't use the feature.

                Recent blog posts: * Event Organisation (Feedback) * LINQ to XML (part 4) * Scottish Developers June Newsletter My Blog

                1 Reply Last reply
                0
                • D Daniel Flower

                  But it only shows the tasks from files you have open, so if you want to view all the TODOs in your solution, you need to open every file, no?

                  S Offline
                  S Offline
                  StevenWalsh
                  wrote on last edited by
                  #8

                  That is a good point, I made mine parse all files in a solution It also prints :)

                  modified on Monday, July 7, 2008 2:16 PM

                  D 1 Reply Last reply
                  0
                  • S StevenWalsh

                    That is a good point, I made mine parse all files in a solution It also prints :)

                    modified on Monday, July 7, 2008 2:16 PM

                    D Offline
                    D Offline
                    Dy
                    wrote on last edited by
                    #9

                    That sounds pretty handy. Any chance of it turning into an article?

                    - Dy

                    S 1 Reply Last reply
                    0
                    • D Dy

                      That sounds pretty handy. Any chance of it turning into an article?

                      - Dy

                      S Offline
                      S Offline
                      StevenWalsh
                      wrote on last edited by
                      #10

                      Hmmm i guess it would be a good way to demonstrate a recursive algorithm for the seaching method... and how to use the GDI to print. But then again, there's plenty of articles already out there for those aspects.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups