Closed wclr closed 2 years ago
Seems it doesn't work if the unkown token comes after the bracket: (
or [
.
I can reproduce that, thanks
To fix that, need to handle additional tokens:
TokLeftParen -> go $ TokenStream.step str
TokLeftSquare -> go $ TokenStream.step str
I can add PR.
Why does that not just happen on the next iteration, is the "point" that is called into this function the location of the paren? Seems like the real cause must be upstream - maybe an off by one. Actually not sure if start/end columns are inclusive or not, that would be relevant here
Ok, I didn't figure it out quite carefully. This would be fixed with just making operator inclusive in else if column >= endCol then
.
That seems to work out, I can verify it fixed the above. Thanks!
I quite sometimes now meat the situation when auto import suggestions do not work.
I see nothing particular in the log, and didn't dig it not it, any suggestions on what can go wrong?