leodevbro / vscode-blockman

VSCode extension to highlight nested code blocks
https://github.com/leodevbro/vscode-blockman
MIT License
466 stars 17 forks source link

Blockman showing "random" errors. #127

Open themetalleg opened 1 year ago

themetalleg commented 1 year ago

I keep getting those errors from the extension. I don't even know why. The code is correct. When I remove it, blockman is showing another line of code with an error. It seem a bit random. Anybody has an idea what this can be?

vscode

leodevbro commented 1 year ago

please provide the file or part of the file which triggers the error. I believe the error is not random, but sure, it is a false error. The thing is that VS Code does not give extensions access to the native AST tokens, so I implemented third party libraries (for parsing/tokenizing code) in Blockman. And third party libraries has some mistakes sometimes.

https://github.com/microsoft/vscode/issues/177452

Pavelioso commented 3 months ago

Hello, the same issue is present on my end. Extension shows random errors, though everything is correct. If I try to disable the notifications, the errors keep on showing. Unfortunately cannot share the code. For now a quick fix in my opinion would be to have ability to disable the notifications (even if I disable them in settings they keep on showing).