radian
radian copied to clipboard
Erroneous doubling of closing items and failure to parse input properly
Based on VScode-R 419 there seems to be an issue straddling both projects. I've run into it in two forms, the first is with the erroneous doubling of closing quotes/parents/etc when running code interactively via ctrl+enter. Highlighting the entire code seems to help, as does placing the cursor at the end of the code being run rather than at the start or anywhere inside teh block.
The second is there's apparently a size limit for how much code it Radian handle at a time, after which it stops being parsed properly and turns into plain white text that you have to hit enter in the terminal to run.
Bracketed paste mode is the solution to these problems if you are running on Linux or macOS. Unfortunately, it is not supported by Windows terminal(https://github.com/microsoft/terminal/issues/395).
That's somewhat odd, since I didn't have the extra character insertion issue at all prior to maybe a few weeks to a month ago at most. I started using Radian with VSCode earlier this year and didn't have this issue until recently. I wonder if VSCode changed something that made it more prominent...
I don't have much experience with VSCode on windows. From what I have heard, you might want to disable the radian.auto_match
I tried but unfortunately that doesn't seem to have completely solved the issue. It's interesting that this is fairly recent for me. It was always possible to "flood" radian with too many lines, at which point parsing would fail and you'd have to hit "enter" as if it were all plain text, but that was almost completely cosmetic.
Microsoft must have changed something at some point in the last... call it three months maybe... that doesn't play nicely with radian.
This might be irresolveable.
Apparently, the bracketed paste mode is now supported (microsoft/terminal#395), but I'm running into the exact issue @D3SL was mentioning. Did you find a solution to the problem?