vscode-zig
vscode-zig copied to clipboard
Extreme CPU usage on find/replace in multiple files
I cloned a git repo and it automatically converted \n to \r\n in the process since I'm on Windows.
So I used the find/replace in files functionality of vscode to replace them back and when I did it launched around 100 zig.exes and completely annihilated my CPU.
I had to kill them all with taskkill /IM "zig.exe" /F.
Do you have either Format on Save or Build on Save enabled? I wonder if it launched a process for each file.
Yes I have Build on Save enabled.