<@UB3CEA8QG> - With the updated version of the Kot...
# intellij
n
@Alexey Belkov [JB] - With the updated version of the Kotlin plugin the IDE freezes (chokes) when pasting in a large amount of data for an Array 😦. The IDE will also freeze when using the Quick Documentation function (Ctrl+q). Here is the data that is being used: https://github.com/lvgl/lv_demos/blob/master/src/lv_demo_widgets/assets/img_lvgl_logo.c Making even minor changes to the Kotlin source file after using the large amount of data causes the IDE to freeze 😱. These issues don't occur with the previous version of the Kotlin plugin.
The situation is so bad that even making minor changes to small sized Kotlin source files also causes the IDE to freeze 😱. Regular IDE freezing is unbearable.
Is it possible to rollback to a previous stable version of the Kotlin plugin? I am unable to continue using the IDE with the latest stable version of the Kotlin plugin in its unusable state; being driven up the wall.
h
Same performance problem when developing Ktor. I switched back to 1.6.10-RC, which didn't have this problems (until now)
n
Which Kotlin development platform did you use in your project?
w
I experience complete IDE freezes with plugin 212-1.6.0-RC2-release-765-AS5457.46 too, I’m not sure if they’re related to pasting code though blob thinking upside down I think it’s after updating to Kotlin 1.6.10 if that’s possible
n
Currently using Kotlin 1.6.0 in the project that was referenced above ☝️ . Before each freeze the IDE's analysis of the Kotlin source file slows down to a crawl.
👍 1
a
Hello. Sorry for the trouble. You could downgrade the plugin like this: https://www.jetbrains.com/help/idea/managing-plugins.html#remove-plugin We already have a similar issue reported several years ago about C code: https://youtrack.jetbrains.com/issue/KTIJ-12029. As this is a rare use case, we didn't specifically work on it. I will add a comment to the issue about your report. If you experience other freezes/problems not related to C code, I think it's better to create a new YouTrack issue with freeze dumps / CPU snapshots, steps to reproduce, etc. We will try to investigate. Thank you.
n
I have created an issue in the Kotlin Issue Tracker: https://youtrack.jetbrains.com/issue/KT-50305
🙏 1
The same problems occur in Kotlin plugin ver 212-1.5.10-release-IJ5457.46. Much more attention needs to be paid to Kotlin Native projects that contain one or more Linux targets, and use one or more C libraries. It is very disappointing that a severe issue has lingered in the Kotlin plugin for a long time. This issue is definitely a showstopper.
j
X11 selection (not paste) bypasses the java conversion filter. C looks a lot like java when there is just an unlabelled string to go from.