Gruntfuggly / todo-tree

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

Doesn't work out of the box #868

Open sanjayssk opened 1 month ago

sanjayssk commented 1 month ago

Installed and showed nothing except dist bundle folders. Uninstalled, reinstalled no luck. Shouldn't it default to all sources?

sascharo commented 1 month ago

Shouldn't it default to all sources?

It never worked for me either. I gave it a try with different VS Code versions and profiles over the years. It never showed anything, and I didn't spend enough time to get it to work so far.

Did you have any luck? @sanjayssk

DaveParr commented 1 month ago

Weird, I've had great experience with this for years.

Something to check: when you open vs code you need to open a folder containing a number of files with suitably formatted strings. Were you maybe opening a single file? or in a language which has a tricky comment structure?

sascharo commented 1 month ago

Weird, I've had great experience with this for years.

Something to check: when you open vs code you need to open a folder containing a number of files with suitably formatted strings. Were you maybe opening a single file? or in a language which has a tricky comment structure?

I tried it in Rust and Python projects. The extension didn't do anything in any of them.

ThomasGHenry-agoraukltd commented 1 month ago

EDIT: adding local rg path to config fixed this for me

I see this on both install and reload

Todo-Tree: /bin/sh: /Applications/Cursor.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg: Bad CPU type in executable
DaveParr commented 1 month ago

@sascharo sorry to hear that. It works great for me in both languages :(

joshkopecek commented 16 hours ago

I did the following, and got it to show everything in the workspace again

  1. Made sure ripgrep is installed
  2. Pointed the settings to the ripgrep install which rg
  3. Removed my setting for the Root Folder (under General in Todo Tree settings)