Skip to content

Wishlist: making the search more useful while debugging in anger #547

@ribasushi

Description

@ribasushi

Consider you are looking at a problem, say http://www.cpantesters.org/cpan/report/5541ece2-80e5-11e1-a9f1-a8f3163997d5. It would be awesome if searching for the string q|Catalyst.pm line 1686| (which is simply a copy/paste from the error above) would send me directly to: https://metacpan.org/source/BOBTFISH/Catalyst-Runtime-5.90011/lib/Catalyst.pm#L1686

This would imply that the search code will need to fork on detection of qr/^ m o d u l e p a t h s p e c l i n e \d + /x, cleanup $module_pathspec (possibly trimming off .*/lib/), converting the remainder of the path to a module name, finding the currently indexed distribution/module, and generating a link.

Is this desirable/doable?

Activity

Getty

Getty commented on Apr 23, 2012

@Getty

Yeah, i like that :-)

sailfree

sailfree commented on Oct 5, 2012

@sailfree

true

ranguard

ranguard commented on Dec 21, 2013

@ranguard
Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Getty@ranguard@ribasushi@sailfree

        Issue actions

          Wishlist: making the search more useful while debugging in anger · Issue #547 · metacpan/metacpan-web