I've inherited a codebase with a certain Java source file that's just short of 15000 lines.
This makes even scrolling through the file "syrupy", which was helped by turning off inspections for the file. However, actually editing it causes IDEA to become unresponsive at 100% CPU usage for several seconds. (After a short delay, roughly half a second after the first keystroke.)
IDEA still receives keystrokes while in the lag burst and seems to handle them, and it never failed to recover and hang up completely. Still, editing this file (sod's law: it has to be edited for anything nontrivial) is extremely painful.
Can whatever IDEA is doing with the file that's so resource-consuming be turned off per-file?