Menu

#20 Todo-List does not parse the whole comment

Closed
closed-fixed
None
5
2018-01-31
2016-06-10
No

The Todo-list expert only shows the first line of the todo comment. This is especially a problem with todos of the following form:

{ TODO -oAnyone -cFeature :
Some description goes here }

because these show up with an empty description.
The built in todo list in Delphi shows them correctly.

Discussion

  • Thomas Mueller

    Thomas Mueller - 2018-01-30

    Fixed partially: The display now shows the whole todo text, but a double click will jump to the line where we originally found that todo. For one line todos the code looks for a matching todo near that position, but that currently fails for multi line todos. Still that's quite an improvement.

    The fix only works for Pascal files. I have no C++ builder (or full Rad Studio) installed to implement and test simliar code for C.

     
  • Thomas Mueller

    Thomas Mueller - 2018-01-31

    Also fixed the goto functionality (still only for Pascal files).

     
  • Thomas Mueller

    Thomas Mueller - 2018-01-31
    • status: open --> closed-fixed
    • Group: New --> Closed
     
  • Thomas Mueller

    Thomas Mueller - 2018-01-31

    Turns out that the C parser already supported multiline comments so no changes were necessary in that part.

     

Log in to post a comment.

MongoDB Logo MongoDB