Vazgen Manukyan
Vazgen Manukyan

Reputation: 9

Phpstorm wrong Highlighting

There are strange errors in twig files. First of all there is a dark green background, the other problem is "statement expected".

I tried to "Invalidate cache" but it does not help.

the only thing that helps is just to put "Power Save Mode" that totally disable code analyse.

screenshot https://i.sstatic.net/GTL1q.jpg

Upvotes: 1

Views: 738

Answers (1)

Kootli
Kootli

Reputation: 564

There are injected language fragments. Point mouse there, press Alt+Enter and select Un-inject language/reference.

Upvotes: 5

Related Questions