Skip to content

Support context of lines with lower indentation #897

@tokarenko

Description

@tokarenko

In addition to context of “N lines before/after match”, I suggest to add option of “lines with lower indentation”. Such context will be very useful for indentation-sensitive languages, like Python. This is described by Matt Brubeck in a blog post. There are implementations for Rust, Python and Haskell. I am not a Go programmer. Consider this as a feature request from me.

As a side question, please advise if Zoekt supports indexing of arbitrary indented text? If not, then how to implement it?

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