Skip to content

Combine text / parse-tree surrounding pair delimiter finder logic #1600

Closed
@pokey

Description

@pokey

Idea for an alternative implementation of surrounding pairs
We start off with a pure text based implementation that finds all the delimiters. We then use Tree sitter to disqualify or quantify the delimiters. For example tree sitter could determine that an angle bracket is actually a less than operator, that the parenthesis is inside a string or a comment. As well as quantifying if a quote is the opening or closing of a string.

Originally posted by @AndreasArvidsson in #825 (comment)

We should do this one after #1061

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