Stream: beginners

Topic: vscode plugin hogs cpu


view this post on Zulip Vladimir Zotov (Jun 02 2024 at 10:33):

Hi peeps!
I recently split my roc code into two files and started playing with roc test. When I quickly save a roc file and run roc test suddenly vscode says it cannot save the file because it's will be overwritten and contained unsaved changes and I believe a popover in the corner saying the roc plugin is stuck saving the file. After that CPU goes up by 10-20 % and doesn't go down. Every time I do these steps it keeps going up until my CPU is completely eaten and when I close vscode it is stuck saying it is waiting for something to finish. After I reopen the whole VSCode, CPU goes back to normal.

I use roc in WSL in VSCode with a plugin "Roc (Unofficial)v1.2.0" by Ivan Demchenko.

Is that a known issue? Is that the right plugin?

view this post on Zulip Brendan Hansknecht (Jun 02 2024 at 15:41):

I think that is a new issue

view this post on Zulip Francois Green (Jun 02 2024 at 23:30):

I've had this problem before and it was resolved https://github.com/roc-lang/roc/issues/6336, but it has recently returned. I didn't bother opening another issue as I assumed it was a byproduct of another problem https://github.com/roc-lang/roc/issues/6766.


Last updated: Jul 05 2025 at 12:14 UTC