todo-tree icon indicating copy to clipboard operation
todo-tree copied to clipboard

Doesn't work out of the box

Open sanjayssk opened this issue 1 year ago • 7 comments

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

sanjayssk avatar Sep 21 '24 06:09 sanjayssk

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

sascharo avatar Sep 22 '24 02:09 sascharo

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?

DaveParr avatar Oct 10 '24 16:10 DaveParr

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.

sascharo avatar Oct 11 '24 16:10 sascharo

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

ThomasGHenry-a avatar Oct 12 '24 12:10 ThomasGHenry-a

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

DaveParr avatar Oct 12 '24 14:10 DaveParr

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)

joshkopecek avatar Nov 14 '24 11:11 joshkopecek

For what it's worth, I expected when I installed this plugin to see TODO items in the Explorer. It turns out it has its own tree view that's separate. Works great here after installing rg, pointing the settings as @joshkopecek recommended, and finding the window with the tree view!

geocomm-shenningsgard avatar Dec 23 '24 20:12 geocomm-shenningsgard