Gruntfuggly / todo-tree

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

Not working on Macs... #707

Closed jasonvogel closed 1 year ago

jasonvogel commented 1 year ago

Environment: Visual Studio Code (Version: 1.74.0) on Mac (Monterey 12.6.1)

Any help or suggestions would be appreciated.

Gruntfuggly commented 1 year ago

Please post an example of what you would expect it to find. It probably just needs the regex to be configured.

It definitely works on Macs - that's what I developed it on. 8-)

jasonvogel commented 1 year ago

Please post an example of what you would expect it to find. It probably just needs the regex to be configured.

It definitely works on Macs - that's what I developed it on. 8-)

In short, it's not rendering, anything. It's installed and enabled, but not finding/showing any ToDo's (see attached screenshot). Is there a log or something that I can look at for errors?

todo
Gruntfuggly commented 1 year ago

The default tags it will match are BUG, HACK, FIXME, TODO, XXX, [ ] and [x]

So to match the tags in your screenshot, you can set "todo-tree.regex.regexCaseSensitive": false or modify the list of tags using the command Todo Tree: Add Tag and add ToDo and FixMe, etc.

Gruntfuggly commented 1 year ago

Closing due to lack of updates. Please feel free to re-open if you still believe there is an issue.

xieshuaix commented 1 year ago

I am having similar problem. Could you help check what might be the issue? Thanks. image

image

I found that this setting: "Filtering: Use Built In Excludes" might be the cause of this issue. When set to none or file excludes, the extention works fine. But when excluding serach results (see search exclude glob patterns below, nothing unusual, searching files with TODO works), the extenstion stops workinng. image

Gruntfuggly commented 1 year ago

Have you tried modifying the list of excludes to work out which one causes it to stop finding anything? Without knowing your folder structure or filenames I can't really help.