Skip to content

Error message still references 'todo-tree.ripgrep' but correct setting is now 'todo-tree.ripgrep.ripgrep' #930

Description

@Wakko13

Bug Report

Summary

The error message shown when ripgrep is not found references an outdated setting name, causing users to configure the wrong key.

Error message displayed

Todo-Tree: Failed to find vscode-ripgrep - please install ripgrep manually and set 'todo-tree.ripgrep' to point to the executable

Problem

The error instructs users to set `todo-tree.ripgrep`, but this setting no longer exists. The correct setting name (as of v0.0.226) is `todo-tree.ripgrep.ripgrep` (nested under the `ripgrep` section).

Users who follow the error message instructions will set `todo-tree.ripgrep` in their `settings.json` and find that the error persists, with no indication of why.

Steps to reproduce

  1. Install Todo Tree on a machine without ripgrep bundled or resolvable
  2. Observe the error notification
  3. Add `"todo-tree.ripgrep": "/path/to/rg"` to `settings.json` as instructed
  4. Error continues — the correct setting `"todo-tree.ripgrep.ripgrep": "/path/to/rg"` is never mentioned

Expected behavior

The error message should reference the correct setting name: `todo-tree.ripgrep.ripgrep`

Suggested fix

Update the error message string from:

```
set 'todo-tree.ripgrep' to point to the executable
```

to:

```
set 'todo-tree.ripgrep.ripgrep' to point to the executable
```

Environment

  • VS Code on Windows 11
  • Todo Tree v0.0.226
  • Ripgrep installed manually via `winget install BurntSushi.ripgrep.MSVC`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions