Skip to content

Feature request: open file at position supports negative index #684

Description

@kismonguz

It would be nice if the line and column position supports the negative numbers and start counting from the end of the file.

Example:

We have a readme.md file filled with 20 lines.

edit readme.md:10 - opens the file at line 10
edit readme.md:-1 - opens the file at the last row
edit readme.md:-5 - opens the file at line 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions