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
With the introduced configuration, a new line would be automatically added between const ... (AssignmentExpression) and if... (ControlFlowExpression).
constfoo="bar"if(foo){baz()}
The "AST matching query" syntax is based on this "match"/"followedBy" JSON field member pair, but another idea would be to use tree-sitter's S-expression-based matching. I think this is not needed, though, but I might be oversimplifying the use-case.