Control flow is too big to analyze
Recently upgraded to 2018.2.1 (on Mac) and some of my files now show the message "Control flow is too big to analyze" and the background is completely yellow-ish hiding all other warnings in the right margin. Editing and moving in the file is also sluggish.
To solve this I have clicked the little hat guy and selected "None" as PHP Highlighting level, but this disables many useful warnings.
I admit, this is a huge file (+7000 lines with many if/else options) but it did work in 2018.2 that I still run on another Mac.
Please sign in to leave a comment.
Hi there,
If IDE still works OK with this file on another device .. then please try the following:
1. "File | Invalidate Caches" and restart IDE -- usually helps after "suddenly stopped working" situations
2. Maybe you have some plugins here than another computer does not have? Check that possibility as well.
3. Just in case -- also check your idea.log (Help | Show Log in XXX) for possible exceptions/messages -- maybe one of them will be related.
Invalidate caches did not work. However, I applied the 2018.2.2 update and now it works.