DragonKnightOfBreeze / Paradox-Language-Support

IDEA Plugin: Paradox Language Support.
https://windea.icu/Paradox-Language-Support
MIT License
36 stars 4 forks source link

[1.1.5] IDE freezes sometimes when loading autocomplete/intellisense for localization #48

Closed adriangaro closed 1 year ago

adriangaro commented 1 year ago

image Stays like this, prior to 1.1.5 the IDE still froze but had another popup waiting for the threads and usually would unfreeze at the end.

adriangaro commented 1 year ago

CPU usage is at 0% when the IDE freezes this way.

DragonKnightOfBreeze commented 1 year ago

It's possible for the localistions to complete may be too many (~1w+). The size limit was cancelled so PLS will always complete all lcoalsiations that should complete at current version.

DragonKnightOfBreeze commented 1 year ago

Kill IDE and restart to get the IDE error log, then put it here.

DragonKnightOfBreeze commented 1 year ago

Hmmm...the IDE error log may not be easy to get. Should profiling and check plugin code later at 1.1.6.

DragonKnightOfBreeze commented 1 year ago

Tested at 1.1.6 after some optimization, shold not be a very serious performance problem.

DragonKnightOfBreeze commented 1 year ago

It's optimized but I met a IDE freeze during debugging sometimes, if you meet it after 1.1.6 is published, create another issue.