Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Todo-Tree: Failed to find vscode-ripgrep #595

Closed
Dovernh opened this issue Jan 12, 2022 · 13 comments
Closed

Todo-Tree: Failed to find vscode-ripgrep #595

Dovernh opened this issue Jan 12, 2022 · 13 comments
Assignees
Labels

Comments

@Dovernh
Copy link

Dovernh commented Jan 12, 2022

Todo-Tree: Failed to find vscode-ripgrep - please install ripgrep manually and set 'todo-tree.ripgrep' to point to the executable. using insiders, happened after an update to insiders

@Tyriar
Copy link

Tyriar commented Jan 12, 2022

image

Version: 1.64.0-insider (user setup)
Commit: 753319a08f8e74700b1dba3a29bf0a6af7c2953f
Date: 2022-01-12T05:16:42.486Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

@Tyriar
Copy link

Tyriar commented Jan 12, 2022

Oh I think this is probably because we migrated the module to @vscode/ripgrep https://www.npmjs.com/package/@vscode/ripgrep

@smlombardi
Copy link

@Tyriar so what should we end-users do?

@MariaSolOs
Copy link

I'm having the same issue :/

@roblourens
Copy link

@Gruntfuggly I wasn't expecting an extension to try to load a node module from the vscode install. Can you update the extension to point to @vscode/ripgrep instead?

For users, it looks like there is a setting todo-tree.ripgrep where you can point to your own ripgrep binary or point to node_modules/@vscode/ripgrep in your vscode install

@Tyriar
Copy link

Tyriar commented Jan 12, 2022

I guess the best would be requiring based on the version of vscode, so >= 1.64 would use @vscode/ripgrep, that way you can remove the old case when the vscodeEngine is updated to 1.64+. We don't consider the modules shipped with VS Code public API but I know some extensions do it, created microsoft/vscode#140585 for discussion

@connor4312
Copy link

See #596

@Gruntfuggly
Copy link
Owner

@Dovernh Please can you try the latest version and see if it works with the new insiders build? (it did for me, but it's always good to get confirmation from somebody else! 😄 )

@MariaSolOs
Copy link

@Gruntfuggly It works for me! :)

@selrond
Copy link

selrond commented Jan 13, 2022

Works now (insiders, latest version)

@Dovernh
Copy link
Author

Dovernh commented Jan 13, 2022

@Gruntfuggly Yes no errors this morning and the todo's now show

@Dovernh Dovernh closed this as completed Jan 13, 2022
@geekley
Copy link

geekley commented Feb 7, 2022

@Gruntfuggly Can you update open-vsx with latest version, please? Thanks.

@Gruntfuggly
Copy link
Owner

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants