Hound: A Fast Code Search Tool
codeascraft.com
codeascraft.com
Edit: Yup, from previous discussion: https://news.ycombinator.com/item?id=8957565
Edit: A command line version is also on the way.
That said Hound looks like a nice tool. I'm giving it a try.
Is there a sublime or textmate plugin?
Please remember how insecure this is.
If you mean from the command-line, then, yes, it likely take some use of mvn dependency:tree and javap invocations (or unzip for the deps that ship -sources.jar artifacts)
OpenGrok indexing is very very slow. It used to take 10+ minutes on my codebase and my machine. When I switched to Russ Cox' codesearch, indexing was so fast that I just put it in my .profile. And I didn't have to run Tomcat on my laptop.
I haven't tried this tool yet, but if it works by the same principles as codesearch I'd expect it to be very fast.
How the frontend interacts with the backend per default can be found here: https://github.com/etsy/Hound/blob/master/pub/assets/js/houn...
So it looks like wiring the default backend onto a custom frontend shouldn't be that difficult. Unless you want extra features ofcourse, because then it seems you need to learn a bit of Go ;)
…meanwhile, programmers used actual code searching tools like GLOBAL, cscope or ctags to "search code".
But hey, this has a web interface. Might be useful for documentation or less technical users too. I'll have to try it sometime.
It is funny, because I can not deny that there are more powerful ways of doing searches on source code. However, I think there is a beautiful thing about code that is easily greppable.
EDIT: clarification
We treated this one as a dupe because it's pretty hard to argue that the previous post didn't get significant attention at 46 points. On the other hand, the interest in this project (including the repost) looks organic and genuine, so as an experiment, we've unburied it and merged yesterday's comments into this thread.