Code folding stops at about 5000 lines of code

The Code Folder seems to only be able to handle about 5,000 lines of code (around 4,860 today, it varies day to day).

You can see in this image, that at about that point, the fold icons just disappear.  Even if I Collapse All, that's also where it stops.

Any ideas?

 

0

Here's me having Mpdf.php open on line 24402 with foldings available: http://prntscr.com/n4swbs

What's the filesize of the file you're editing? I suppose it may be related to https://youtrack.jetbrains.com/issue/IDEA-107175

0
Avatar
Permanently deleted user

This file is under 400k.

I tried setting idea.max.intellisense.filesize according to here (https://www.jetbrains.com/help/pycharm/file-idea-properties.html) to no avail.

But the type-o in that documentation's previous line of content.load.filesize, and the fact that these ridiculous settings are not available via the interface is not exactly winning me over.

Any other ideas?

 

--J

0

Any chance we could take a look at the file itself?

0
Avatar
Permanently deleted user

Happy to share it privately.

 

--J

0

You can upload it to https://uploads.services.jetbrains.com/ and just let me know the filename. Thank you!

0
Avatar
Permanently deleted user

monkey_doodle.php uploaded!

Thanks for any assistance.

(and for not making fun of any of our legacy coding, lol)

 

0

Thanks.

That's unfortunately an expected behavior, see https://youtrack.jetbrains.com/issue/WI-43058.

You might've noticed the "Control flow is too big to analyse" warning on an opening "<?php" tag: there are 292 "else if" blocks without functions/classes so the control flow is indeed too big to analyze (and fold/unfold). Unfortunately there are no workarounds for this.

0
Avatar
Permanently deleted user

Gotcha.

Thank you for looking into it!

 

--J

0

请先登录再写评论。