todo-tree
todo-tree copied to clipboard
Doesn't work out of the box
Installed and showed nothing except dist bundle folders. Uninstalled, reinstalled no luck. Shouldn't it default to all sources?
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
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?
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.
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
@sascharo sorry to hear that. It works great for me in both languages :(
I did the following, and got it to show everything in the workspace again
- Made sure ripgrep is installed
- Pointed the settings to the ripgrep install
which rg - Removed my setting for the Root Folder (under General in Todo Tree settings)
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!