Skip to content

Incorrect Todo parsing #617

@VolkmarR

Description

@VolkmarR

The parsing of the comments to extract the items for the task list doesn't work as expected.

Try to add the following comments to a prg file.

// TODO: Should be listed in task list
// This is a comment containing the word todo, which should not be listed in the task list
// Chackbox (Checkbox with typo) should not be listed in the task list

This creates the following task entries

image

It seems, that every comment containing the substring Todo, Hack or Undone is added to the task list. But only comments beginning with Todo, Hack or Undone should be used.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions