Syntax error still in the code after the fix Follow
The bug has appeared in the latest version of PHPStorm.
This is completely the same issue as https://intellij-support.jetbrains.com/hc/en-us/community/posts/206359249-Syntax-errors-not-going-away-even-after-they-are-fixed but ...
- Invalidate Caches doesn't work for me
- Ctrl-X -> Crtl+V part of the code with the bug - this temporary fixes the issue, but it's a bad solution :(
A simple example of the issue:
Does anyone have any idea how to fix this now?
Please sign in to leave a comment.
This may sound odd and unexpected... but try disabling bundled Grazie plugin (and restart IDE afterwards) -- I've seen a few recent tickets with a similar kind of issues.
It seems to somehow affect the actual code inspections in some situations (https://youtrack.jetbrains.com/issue/IDEA-275168)...
If it's not your case -- you would need to provide your idea.log file
Syntax errors are produced by Python when it is translating the source code ... Syntax errors are usually easy to fix once you figure out what they are.
No clue what you are talking about: this is PhpStorm forum and the thread is about PHP code and the warnings are NOT about syntax errors.
Side note / admins: for me that comment sounds like a placeholder for the following SEO spam (that will be edited a week or two later to include unrelated links).
Thanks, Andriy Bazanov, I have the same suspicion.
Brielletyshawn60 Sorry if it sounds offensive but please expand the idea behind your recent post or I will mark it as spam at the end of the day.
Hi Andriy Bazanov, thank you so much.
You were right. Grazie plugin caused my issue. Disabling it fixed the issue.
We can close the topic.