Closed Bug 162951 Opened 22 years ago Closed 5 years ago

Add ability to forward line numbers through file search

Categories

(Webtools Graveyard :: MXR, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alecf, Unassigned)

References

Details

Some debugging tools only give you the filename and linenumber by default - it
would be neat to hook them up to lxr, but you have to search for the file.

I think it would be quite cool if you could pass the line numbers through the
filename search, and it would append them to the links as anchors.

What do I mean?
lets say I want to look in the file "nsXULDocument.cpp" on line 47. I could put
the url into lxr as
http://lxr.mozilla.org/seamonkey/find?string=nsXULDocument.cpp&line=47

then the only match it finds would have the link:
http://lxr.mozilla.org/seamonkey/source/content/xul/document/src/nsXULDocument.cpp#47
do you really need to rely on lxr? bonsai can do this:
http://bonsai.mozilla.org/cvsguess.cgi?file=nsXULDocument.cpp&mark=47
oh neat. That's good... but I still want it through lxr. Maybe cvsguess can be
tweaked to support lxr too.
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
Blocks: 361839
No longer blocks: 361839
Severity: normal → enhancement
Blocks: 361839
QA Contact: timeless → lxr
Assignee: bear → nobody

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

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