This just started recently. With certain files (with no apparent pattern that I can tell) when I Reformat Code or Organize Imports it causes the entire IDE to completely lock up, hanging on a progress dialog. After a long while (minutes, maybe) it might recover. Other times I just give up waiting and force-quit. Example:
It happens only with certain files. With those files it happens every time. Other files work normally.
Another odd thing I've noticed in my project is an odd file that seems unable to be parsed for syntax. The file looks like this:
And in the file is valid TypeScript code like every other file (its less than 100 lines), but nothing is highlighted and no auto-completion/intellisense features work. Again this only started happening recently, even though this file is quite old (as the name says).
My project is a TypeScript 3.3.3333/React project.
IntelliJ IDEA 2018.2.7 (Ultimate Edition)
Build #IU-182.5107.41, built on November 26, 2018
JRE: 1.8.0_152-release-1248-b22 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o