kayler-renslow / arma-intellij-plugin

A plugin for Intellij IDEA that allows for syntactical analysis, code inspections, and other nifty features for the SQF scripting language in Arma 3.
MIT License
41 stars 9 forks source link

Crash on certain files (With random cpu usage pikes) #22

Closed darderik closed 8 years ago

darderik commented 8 years ago

Plugin Version

1.0.5

Summary

High CPU usage on specific files,and Intellij Crash

Detail

Opening specific files (Like this one cause a crash,no logs.

screenshot 2 IntelliJ is trying to loading for a few seconds,then it crashes.

kayler-renslow commented 8 years ago

I'm currently investigating this issue. I have a suspicion it's with case statements. Could you open up that file in notepad and let me know if you have a case statement in the file? Thanks.

darderik commented 8 years ago

Yes, I can confirm. There is a large case statement.

kayler-renslow commented 8 years ago

it definitely appears to be the case statement. I disabled it and a file with a large case statement opens fine. When enabling the case statement again, the large file freezes Intellij. This makes no sense...

kayler-renslow commented 8 years ago

I seem to have fixed the issue.

kayler-renslow commented 8 years ago

this is now fixed in version 1.0.5_1, which is available on the releases page.