Comment by harikb
1 month ago
Recently, all these agents can talk LSP (language server protocol) so it should get better soon. That said, yeah they don't seem to default to use `ripgrep` when that is clearly better than `grep`
1 month ago
Recently, all these agents can talk LSP (language server protocol) so it should get better soon. That said, yeah they don't seem to default to use `ripgrep` when that is clearly better than `grep`
What you really want is ast-grep[1].
Ripgrep is much faster than grep. But the result is not more concise and tokens are wasted.
I think codex uses ast-grep by default, if installed; Claude has to be instructed?
[1] https://ast-grep.github.io/
Codex likes to use ripgrep.
Claudes search tool uses Ripgrep , which is embedded in Claude.