codespelunker - CLI code search tool that understands code structure and ranks results by relevance. No indexing required

58 points by boyter


erock

Neat! How does this compare to ast-grep? https://github.com/ast-grep/ast-grep

Student

I’m excited to try this as well as https://github.com/Cranot/roam-code (posted previously).

siddhartha_golu

This looks excellent.

I had previously used Hound, which is another great tool but it wasn't doing any code structure understanding.

payne

Oh wow, that's really cool and work really well.

Only issue I really have is that it often finds quite a lot of results and the good matches are at the top so I need to scroll my terminal to see them. Perhaps either a flag to output matches in reverse order, or to only output as many matches as fits the terminal could be good.