top | item 46664542

(no title)

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`

discuss

order

virtualritz|1 month ago

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/

wahnfrieden|1 month ago

Codex likes to use ripgrep.

je42|1 month ago

Claudes search tool uses Ripgrep , which is embedded in Claude.