Open timm088 opened 7 years ago
Crashing VSCode is actually kind of impressive :sunglasses: the bulk of the code lives out-of-process in a Language Server that can crash independently. If you find a way to reproduce this please let me know.
Regarding the underline issue, I will look into it when I find the time, but last I looked this behavior comes from the underlying parser, yaml-ast-parser, which is basically saying the document is invalid from there on, but I'll double check.
I can reproduce everytime...
I'm on macOS (latest) and the latest VSCode if that helps?
How big are we talking? I tried it with 5,000 lines and was able to scroll to the bottom.
Trying with 10,000 lines it appears to just give up on the underlining, I see the process using the CPU for a while then it drops to zero but the red underline is never drawn (more investigation would be needed to know if that is because of this extension or because of VSCode.
In no test did I reproduce a crash.
Running latest vscode and your plugin
When i make some syntax mistakes in yaml files, and vscode correctly tries to highlight those the whole vscode will eventually crash