rokucommunity / vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language
MIT License
104 stars 41 forks source link

Console pops up with error messages on save #290

Closed lkipke closed 3 years ago

lkipke commented 3 years ago

Hello,

Whenever I save a .brs file in my project with this extension enabled, the console output pops up and displays a bunch of error messages: Screen Shot 2021-01-29 at 2 16 08 PM

This is particularly frustrating, because I don't normally have the console open -- it appears that the extension is popping it open on its own. I'm also not using brighterscript, just normal brightscript. Thank you for any help 😄

TwitchBronBron commented 3 years ago

Hey, we must have introduced a bug in the language server recently. Both BrightScript and BrighterScript use the BrighterScript language server to provide goto, function hints, completions, etc. Do you know if there's any specific action that causes this to happen regularly? I'd like to try and reproduce it on my machine so I can get to the bottom what is causing the errors.

TwitchBronBron commented 3 years ago

I found the issue. I submitted BrighterScript PR #294, so this should get released in the next day or two.

TwitchBronBron commented 3 years ago

Release v2.14.1 fixes this issue. Give it a try and let me know if you still see any issues.