Code Inspection Doesn't Refresh on Edit

Code Inspection Doesn't Refresh on Edit. I wrote feature parameter, but phpstorm still says missing.

1

I downgraded phpstorm version from 2021.2 to 2020.3 and the problem solved. 

0

Let us know if you'd like to look into this issue again. If you do - please install version 2021.2 again, reproduce the issue, run Help > Collect Logs and Diagnostic Data and share resulting logs archive. You can do that via https://uploads.jetbrains.com/

0

Same here. 2021.1.4 is working fine. 2021.2 and 2021.2.1 get the inspection stuck. A new created IF has an empty body even if changed, just as example as it happens to most inspections. Restart helps/fixes it but on edit the inspection is not updated anymore. So once an inspection triggered it isn't resolved anymore.

0

Please try disabling all custom plugins at Settings | Plugins > click on a gear icon > "Disable All Downloaded Plugins", restart IDE and check the issue after that.

If that doesn't help - please run Help > Collect Logs and Diagnostic Data and share resulting logs archive. You can do that via https://uploads.jetbrains.com/

0

Has this issue been resolved? I'm experiencing the same problem with the 2023 version of PyCharm

0

Ruddydthd, please create a support ticket with PyCharm (Help | Contact Support) attaching your logs (Help | Collect Logs and Diagnostic Data) - this thread is two years old, and each case has to be troubleshot separately.

1

This is a really irritating issue, not only for flagged code errors that pop up during typing, but also for spelling errors. I find myself constantly copying and re-pasting methods for flagged errors to refresh. Are there known plugins causing the issue, or is it a jetbrains bug, cause I'm experiencing the same behaviour on my Mac and Linux machine, and with PHPstorm and Android studio.
This is not a new issue, but it has been getting worse, saying disable all plugins and reinstall is not resolving the issue or providing support

3

I have this issue regularly, where I have an inspection, correct a signature or otherwise and the inspection remains for minutes if not hours - sometimes even in between restarting the app. I'm using PHPStorm 2024.1.4, but have been experiencing this from around the time this ticket was created as well. At the current moment I'm struggling with an inspection from PHPStan that keeps popping up on the same line of code when I edit it, even though the inspection reflects a version of the code that is from several app restarts and edits ago. I have disabled my one plugin (github copilot) and restarted as suggested above.

0

Hi Thno,
As this thread is 3 years old, please submit a separate request via Help | Contact Support, provide a screencast with the stuck inspection, and share logs from Help | Collect Logs and Diagnostic Data.

0

请先登录再写评论。