Inefficient: VS Code becomes laggy even in workspace without any SARIF files
ashsam925 opened this issue · 1 comments
I'm working in a large repository that does not have any SARIF files. VS Code was slowing down to the point where typing 20 characters would take 15-20 seconds to show on screen after I finished typing. After disabling extensions one-by-one, I found SARIF Viewer to be the culprit.
The only files I have open are *.ts
files. I'd assume this shouldn't trigger the SARIF viewer, but it seems to be doing something in the background anyways. Assuming that scanning files is taking up a lot of resources, is it possible to only scan *.sarif
files, only open files, or to improve the efficiency of scanning files?
This issue is absolutely still repro, btw. I'm having this issue too. Same thing: no SARIF files in repo, and not even that big of a repo, but about a million rg.exe instances are spawned, and I can't type anymore. Since this extension seems to have been pushed out via group policy for some unknown reason, please address as a higher severity; this is making internal work miserable.