When I open a small JSON file in PyCharm, I can easily collapse or expand its sections (note the medal-shaped symbols on the left):
However, when I open a large JSON file, this isn't possible anymore (no medal-shaped symbols). PyCharm still seems to understand that this is a JSON file and it should be formatted as such, but the section collapsing capability is gone, which seriously hampers JSOn file editing:
Is there a way to fix this? Apparently, PyCharm complains that the file is too large and "code insight features" are not available, but I'm not sure whether these features have anything to do with the possibility of collapsing sections.
I'm using PyCharm 2022.2.3 (Professional Edition) on macOS 12.6 (Monterey)