Closed Zelyutin closed 1 year ago
In addition, it seems like "phpstan.enabled": false
disables check on save but when I hover on some meaningful symbol the check phpstan starts to check the file anyway
First of all thanks for the kind words :)
Hmm these should all be disabled when phpstan.enabled
is set to false. I've made some changes in the latest version (2.2.22) that should help you out:
PHPStan client
output field. This allows you to verify whether the phpstan.enabled
setting is actually applied and nothing is overriding it.enabled
status every time instead of relying on a sort of "set it when it changes and read the last-written value" system I had before that might have been a bit iffy when changing the setting in a single session.Can you verify whether it has been fixed (doubt it since I didn't change much), and if it hasn't, can you post the output of the PHPStan client
output panel? That should help in verifying whether something is wrong with the configuration or if it's really the extension. Version 2.2.22 should be live right now.
Issues go stale after too much time without activity. If inactive for another 7 days this issue will be closed.
Hello! I have v2.2.19(last) version installed, however it seems that PhpStan execute file check on every save even if phpstan.enabled setting is set to false.
PhpStan part from settings.json:
On every file save I see following messages in output:
My final target is to set full project scan on save, tried with but haven't reached any result neither in default file disabling nor in project check enabling
I tried workspace reloading and full vs code exit but nothing changed. Also I've tried separate disabling with out editor.codeActionsOnSave enabling so there's no dependency.
P.S. Thank you for your extension! It really helped me a lot in my work for a past few days.
P.P.S. Full project check is a really great function (saw that it's relatively new to others) and even if the files are closed in VSCode the ones with error are lightened up in a file navigation.