Closed Bug 758637 Opened 13 years ago Closed 11 years ago

Searching for a file giving its path pattern

Categories

(Webtools Graveyard :: DXR, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lionel, Unassigned)

Details

(Whiteboard: mxr-parity)

How do you search for the file names matching some pattern in DXR? E.g. MXR has http://mxr.mozilla.org/mozilla-central/find?string=nscoord. I can’t figure out how to do that with DXR. Searching for “path:nscoord” gives “Error: unknown search parameters”. If the feature is implemented then it is currently not discoverable.
Priority: -- → P3
Whiteboard: mxr-parity
You have to get the Advanced Search box to show first; it presents a "path" field. Hit Return while in the search field, and the Advanced Search should appear. This is silly, and we should improve its discoverability. :-)
This is annoying but shouldn't block retiring MXR, so I'm removing the whiteboard phrase.
Whiteboard: mxr-parity
I disagree. This is one of the main functions of MXR, and should be treated as a 1st class citizen in DXR. We probably don't want to add a separate box to the default search UI, but it should look in the file names as well.
Whiteboard: mxr-parity
Fine with me.
This is pretty discoverable now, with the Filters menu listing "path:" as its first item. It's also quite flexible: you can search for "path:addon*addons*ome" to find files whose paths contain "addon" and then some stuff, then "addons", then more stuff, and finally "ome" (and more stuff). As you can see on the roadmap (https://wiki.mozilla.org/DXR_Roadmap#Top_of_the_Heap), we still plan to surface path matches even better, but I don't think it's fair to shoehorn that into this ticket. I'd like to call this done, for MXR-retirement-blocking purposes. Reopen if you feel very strongly.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.