Closed ChristopherDrum closed 2 years ago
Hm. I released an update to the extension a couple days ago, so it likely had something to do with that. I’ll look into this later today.
I'm unable to reproduce this, on either Mac or Windows, with the latest pico8-ls and VSCode 1.66.0. Can you provide details on what system you're running this, and what code you try to view when this happens?
I have been able to reproduce this trivially. It appears to be related to string decoration characters.
If I have a fresh, blank cart and add just one line
print('\^ithis fails')
This will trigger the cascading failure I see.
That \^
combo seems to be the trigger. As soon as I type the ^
the plugin goes haywire.
Just for completeness sake: I reproduced on both Windows 10 and macOS 12.3. On Windows I uninstalled and reinstalled the plugin. On macOS I installed the plugin fresh for the first time. I have not done anything as drastic as reinstalling VSCode, but I think it isn't necessary given my findings above.
Thanks, yes, that reproduces it for me too! This should be a pretty quick fix -- I'll take a look later today.
Should be fixed with 0.3.3 (just released). Feel free to re-open if it's not fixed.
To my knowledge, I've done nothing to my VSCode setup except perhaps a VSCode update to version 1.66.0
The plugin now generates dozens... hundreds?... uncountably many error messages where the log starts as
and I'll cut it off there, because it goes on like this forever. And it kind of makes the plugin unusable, because I can't use the terminal portion of VSCode as it is doing nothing but generating error messages. Turning off the terminal results in the terminal auto-opening to show me more errors, with the error message constantly flashing in the bottom of the screen.