You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: