Closed Bug 162952 Opened 23 years ago Closed 6 years ago

mode to redirect lxr to the first url found

Categories

(Webtools Graveyard :: MXR, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alecf, Unassigned)

Details

some debugging tools only give a filename, and lxr makes it easy to find that file.. but it would be really useful to automatically forward to the first (or maybe the only) match in the search. for instance, if I type "nsXULDocument.cpp" into the search, there will be only one match - it would be neat to add a "redirect mode" such as http://lxr.mozilla.org/seamonkey/find?string=nsXULDocument.cpp&redirect=onematch or http://lxr.mozilla.org/seamonkey/find?string=nsXULDocument.cpp&redirect=firstmatch "onematch" would mean to redirect only if there was exactly one match. "firstmatch" would unconditionally redirect to the first file that matches in conjunction with bug 162951, you could use lxr to find the exact line of a specific filename anywhere in the tree in a single search.
Indeed. I have Smart Keywords configured in Firebird for various LXR searches, e.g. "file nsXULDocument.cpp" in the URL bar does the corresponding LXR file search. Since my mode of operation is so keyboard based, it's a frustration to have to take my hands away to click the link (even with Find-As-You-Type it's still a jarring loss of efficiency). I'd love to have these options because I usually know exactly what file I want, or it's the first of the list.
Summary: mode to redirect to the first url found → mode to redirect lxr to the first url found
reassigning endico's bugs to default owner
Assignee: endico → chase
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
QA Contact: timeless → lxr
Reassigning all LXR bugs assigned to build@mozilla-org.bugs to the default LXR owner (sorry Bear!) We aren't actively working on these (if that's wrong, please reassign to yourself/a real person).
Assignee: build → bear
QA Contact: lxr → timeless
QA Contact: timeless → lxr
Assignee: bear → nobody

mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.