Skip to content

Line numbers and #line directives #958

Closed
@andk

Description

@andk

Today I encountered a source file that has plenty of #line directives:

https://metacpan.org/source/TYPESTER/AnyEvent-JSONRPC-Lite-0.15/inc/Test/Builder.pm

For a bug report I had to find line 917 but due to the #line directives I had to find the real line 628.

It would be a nice addition if files with #line directives had one extra column with the mapped line numbers to the left, something like

917 | 628 |     return $numval != 0 and $numval ne $val ? 1 : 0;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions