Closed BalduinLandolt closed 1 year ago
Thanks for this report. Are you using the latest version of VS Code and the latest versions of our extensions? Are you able to share any SHACL that seems to cause the issue reliably? Do the background processes get killed if you fully quit VS Code (not just reload window)?
I'm actually having a hard time reproducing the bug right now, it seems to be a really sporadic thing. So I can't be really helpful, sorry!
Again, sorry for not being more helpful here.
I'm not entirely sure if this is a VS Code extension issue or an issue of the SHACL language server itself. I also didn't see any error messages or logs anywhere in VS Code, so I can't provide much detailed information.
OS: macOS Big Sur
Description:
When writing SHACL by hand, in the process, the file is invalid quite often, simply because one hasn't finished typing out the rest of the line.
In this process I noticed that every now and again, the error highlighting in VS Code wouldn't go away. In those instances, I had to restart the editor, then it would work again.
After some hours, however, my computer started heating up and CPU usage was at 100%; there were numerous VS COde background processes running, all hoging a lot of CPU. Reloading VS Code (CMD-Shift-P > reload window) didn't kill those processes, I had to hard restart the computer to stop them.
My guess would be that under some circumstances, when the processed .shacl file is invalid, the language server ends up stuck in a loop of some sort of a loop.
Reloading the IDE doesn't seem to kill of the process spawned by the language server; and the same thing may happen to the newly loaded instance of the server.