Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.42k stars 137 forks source link

improve warning `Todo Tree: There is now an improved method of locating markdown TODOs.` #604

Closed tjx666 closed 2 years ago

tjx666 commented 2 years ago
  // https://github.com/Gruntfuggly/todo-tree/issues/255#issuecomment-574279033
  "todo-tree.regex.regex": "(?:(?://|#|<!--|;|/\\*\\*?|\\*|(-|\\d+.))\\s*($TAGS)|^\\s*- \\[ \\])",
  "todo-tree.general.tags": ["TODO:", "FIXME:", "NOTE:", "[ ]", "[x]"],

Should not appear this warning because I have configure as describled in readme.

image
Gruntfuggly commented 2 years ago

If you click "Never Show This Again" does it keep coming back?

tjx666 commented 2 years ago

I haven't try it. For now, if I click Never Show, it's very complex to let this notification show again when I change todo-tree regex again.

Gruntfuggly commented 2 years ago

If you click "Never Show This Again" it should stop popping up. Please try it - if it keeps popping up after clicking it, I'll investigate.

Gruntfuggly commented 2 years ago

Or simply remove |^\\s*- \\[ \\] from the end of the regex.

tjx666 commented 2 years ago

I change the regexp to

  "todo-tree.regex.regex": "(?:(?://|#|<!--|;|/\\*\\*?|\\*|(-|\\d+.))\\s*($TAGS))",