Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extreme CPU usage on find/replace in multiple files #41

Open
fourst4r opened this issue Jul 29, 2020 · 2 comments
Open

Extreme CPU usage on find/replace in multiple files #41

fourst4r opened this issue Jul 29, 2020 · 2 comments

Comments

@fourst4r
Copy link

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.

@Swoogan
Copy link
Contributor

Swoogan commented Nov 8, 2020

Do you have either Format on Save or Build on Save enabled? I wonder if it launched a process for each file.

@fourst4r
Copy link
Author

fourst4r commented Nov 8, 2020

Yes I have Build on Save enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants