On 06/07/2016 10:37 AM, Gabor Krizsanits wrote:
Wow, this is amazing. Million thanks for this, especially for the speed,
the easy blame walk and the highlight. I always wanted to have a tool for
the traversing history like that.

Indeed. So much better than what dxr/mxr gives, and finally I might switch away 
from mxr :)
(so far there hasn't been reason for me to switch from mxr to dxr)


One thing I miss is to see the revision
number / contributor name on the side bar for each line on the sidebar in
blame view.

Ah, yes, bonsai used to have it like that and then hovering over the name 
showed the commit message with link to the bug.
Might be indeed quite useful.

One question, is the source code public?

By the way I do not believe we all want the same thing from a code search
tool, so I see nothing wrong in someone implementing a personalized version
for his own taste, and some of us will benefit from it greatly.

- Gabor

On Tue, Jun 7, 2016 at 6:35 AM, Bill McCloskey <wmcclos...@mozilla.com>
wrote:

Hi everyone,

I would like to announce a new tool I've been working on for source
code searching called Searchfox (http://searchfox.org). If you use MXR
or DXR, I recommend you try Searchfox. Here are some of the benefits:

- Besides C++ code, Searchfox indexes JavaScript, XBL, and IDL. You
   can search by property name and, in some cases, qualified property
   name (e.g., SessionStore.duplicateTab). IDL files link to both JS
   and C++ implementations and users.

- Blame in Searchfox is fast and easy. Every file includes blame
   information in a gray bar on the left side, and walking through the
   blame history takes only one click per revision. Each file in the
   blame chain downloads quickly, and blame goes all the way back to
   1998. Say goodbye to the frustration of reaching "Free the
   (distributed) Lizard" at hg.mozilla.org and finding that GitHub
   blame times out!

- Searchfox jumps to the actual definition of methods rather than the
   header file declaration.

- C++ template handling is a little better, files download a little
   quicker, and other smaller improvements.

If you would like to try out Searchfox, I recommend that you change
your keyword searches to point to it. Otherwise it's too easy to
forget and revert to muscle memory.

Keyword search:
http://searchfox.org/mozilla-central/search?q=%s

Keyword search to find a particular file:
http://searchfox.org/mozilla-central/search?q=&path=%s

Some help on using Searchfox can be found at
http://searchfox.org. Also, you can see some screenshots at my blog:
https://billmccloskey.wordpress.com/2016/06/07/searchfox/

Also, here are some reasons not to use Searchfox:

- You frequently look at repositories besides
   mozilla-central. Searchfox only handles m-c.

- You like MXR's ability to sorta index all platforms. Like DXR,
   Searchfox uses a clang plugin that only analyzes Linux64 debug
   builds. I'm very eager to fix this problem, but it will take some
   time. Full-text search finds everything, of course.

-Bill
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to