Has anyone seen the intellisense getting insanely,...
# javascript
m
Has anyone seen the intellisense getting insanely, ridiculously slow in the IDE (Android Studio / IntelliJ)? I have a multiplatform project: when editing the Android section, performance is as expected. When editing the Javascript - I'm waiting over a minute and still don't have the auto complete popup
t
The same situation in latest IDEA :(
Previous IDEA version was fine - will try it tomorrow
m
Good to know its not just me... I'm using Android Studio - its making me go nuts
t
In some cases cache clean can help
I mean IDEA cache
m
As in file -> invalidate caches?
t
Yes
m
Yep - tried that...
64GB of RAM... its like going back to the days of notepad
Makes you realize how dependent we are on it
What's also interesting / unfortunate: the compileKotlinJs task is taking much much longer than normal even when changes are very minor
h
Did you create an issue? It is really slow
m
Not yet... I was anyway in the process of migrating a code base from class based react to functional react, so I thought I'd try getting rid of the old source to see if that helped.
That seemed to resolve the compileKotlinJs issue - but intellisense is still far too slow to use
Will post an issue shortly if no one else already has in the meantime
h
Yeah, I mean KTIJ too, the IntelliJ plugin. Mostly resolving imports or auto complete
t
IDEA 2022.3.3 with Kotlin plugin
1.8.20
- works fine 😜
h
Try 2023.1
t
Tried. Without success 😞
m
@hfhbd @turansky I have filed a report on Youtrack here: https://youtrack.jetbrains.com/issue/KT-57897/Intellisense-and-code-analysis-is-extremely-slow-and-unusable-on-Kotlin-JS . Please do chime in with comments on the issue. I hope this gets some attention soon.
👍 1
For anyone still suffering very slow intellisense: I think a key issue was having import mui.icons.material.* . Removing that and replacing it with individual imports of the icons I was using seemed to help a lot. Clearly importing that should really not break the IDE, but maybe something to avoid at the moment.