leodevbro / vscode-blockman

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

Blockman showing "random" errors. #127

Open themetalleg opened 7 months ago

themetalleg commented 7 months 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 7 months 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