sourcebot-dev / sourcebot

Blazingly fast code search 🏎️ Deployed as a single Docker image 📦 Search million+ lines of code in your GitHub and GitLab repositories 🪄 MIT licensed ✅
MIT License
749 stars 17 forks source link

Filter symbols by kind #16

Open glesica opened 4 days ago

glesica commented 4 days ago

How difficult would it be to support searching for a symbol by its kind, like function, class name, etc. Bonus points if you can specify how it is used, like function declaration versus function call.

I wouldn't mind doing it myself, but I'm curious if that kind of semantic information is even captured by the index, because it seems like it would be a lot more work if that isn't the case.