Hacker News new | ask | show | jobs
by rhelmer 3383 days ago
I use the Mozilla DXR project (or the searchfox.org fork) every day, which is pretty great for code.

Not only can it quickly search across large codebases, it parses JS/Python and the output of clang (for C/C++) to allow quickly finding the definitions of functions, declarations of variables, and so on (try hovering over a variable for instance):

https://dxr.mozilla.org/mozilla-central/source/browser/compo... https://dxr.mozilla.org/mozilla-central/source/toolkit/mozap...

Nothing that many mainstream IDEs can't do, but having it on the web and being able to quickly link people and not requiring local setup helps tremendously to get people up to speed quickly.

2 comments

I might just be searching for the wrong terms, but am I understanding that this is specific to searching in the mozilla codebase? Is there a version that can work on arbitrary codebases?
Can you use it with Github?