SanderRonde / phpstan-vscode

PHPStan plugin for VSCode
https://marketplace.visualstudio.com/items?itemName=SanderRonde.phpstan-vscode
MIT License
40 stars 9 forks source link

Closing multiple files starts multiple simultaneous checks #20

Closed driskell closed 1 year ago

driskell commented 1 year ago

I have a large project and when I finish working on a branch I will close all open files. This triggers a 10 minute long 100% CPU scan of all those files simultaneously as they close, even though they were unchanged. Activity Monitor shows many many php processes running simultaneously.

SanderRonde commented 1 year ago

Ah look like this line is responsible for that. Not sure why I made it do a force check on file close. Will fix this soon!

driskell commented 1 year ago

Thanks @SanderRonde - appreciate your time and effort on this project :) it really helps out substantially!

SanderRonde commented 1 year ago

Thanks, I'm happy to hear!