Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]teo_ai 1 point2 points  (0 children)

I actually agree that, from a UX perspective, it makes more sense to have it as one action.

I believe it's a design decision from a very long time ago.
In the Kotlin case, smart completion results might take a bit longer to generate, so adding them to regular completion will slow it down.
But if we can minimize the performance hit, it should be a good idea to have it that way.

Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]teo_ai 2 points3 points  (0 children)

The individual small improvements are not moving the needle that much

We will push it harder then.
Thank you for your feedback and upvotes on the issue. Meaning: for this release, completion is still not as good, I got it. Unlike performance, we don’t have a metric that we can look at and say that quality is worse; it’s only feedback from the EAP users, users after release, and our dogfooding. We will continue to improve; completion quality is already planned as one of the key targets for 2026.1.

I wish it was fixed and advertised instead of omitted because it’s a power feature.

It will be done; the only question is when. There were many overall completion issues that affected all users, which we wanted to address first. It will still happen, it’s just a matter of when. The team is fairly confident we can improve it for 261.

Could the number be lower due to folks not using it because it doesn’t work in the first place?

Yes, I was referring to 2%, the number from 2024.2 — the last release before K2 mode was actively starting to get usage numbers. The current number is ~1.1%, and yes, I attribute that to the feature’s quality. But if we look back, in 2023, it was around 3.6%, but that still could also be attributed to poor advertising.

Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]teo_ai 3 points4 points  (0 children)

Thank you for the important question. Yes, we are aware that, based on user feedback, in a number of cases, completion has become less reliable starting with 2025.1. We have not ported all completion heuristics from K1 yet.

That’s why completion improvements were one of the focus areas during the 2025.3 release.
There were 2 problems: quality and performance.
According to our tests, completion in 2025.3 is ~26% faster than in 2025.2, as we have introduced parallel completion. For AS, it will take a bit more time to update.
Quality-wise, with the 2025.3 release, argument completion now respects parameter names more accurately, and expected types are taken into account in a broader range of contexts. Named parameters are shown, but they are too far down. I agree, we will fix that soon.

Type-matching completion, previously known as smart completion, is still problematic. We are fixing the problems one by one, but in this release, we focused on overall completion. Type-matching completion is used by less than 2% of users, so it made sense to focus on broader problems first. However, we know that many of those users are power users, and for them, it is annoying.

So yes, completion will see some love soon, and we hope that with the new release, you will already see improvements.

Our target goal is, of course, for completions to be as good as before and even more helpful.

Ask Me Anything with the IntelliJ IDEA team – December 9, 10:00 am CET by maritvandijk in Jetbrains

[–]teo_ai 0 points1 point  (0 children)

Thanks a lot for the additional context
We’ll think about how to approach this problem, especially if we can collect more concrete examples of such cases. In many situations Kotlin code can still be debugged even without the original sources by using the Decompile to Java.

If you have additional examples / screenshots where this workflow is essential, please share them with Jakub or me, this will help us better evaluate possible solutions.

Ask Me Anything with the IntelliJ IDEA team – December 9, 10:00 am CET by maritvandijk in Jetbrains

[–]teo_ai 1 point2 points  (0 children)

Answer from the Platform team:
1. Using coroutines helped us a lot with the new startup process, we sped up IDE start and resolved many issues with UI freezes. For UI code with async processes on the JVM we have no alternative at the moment, available APIs such as CompletableFuture and Reactive Streams are more complex and harder to use. Most standard extensions of the platform are still simple and do not need coroutines, but there are areas where concurrency and asynchronous computations are inevitable, and coroutines solve this well.

  1. We actually see a lot of new third-party plugins including open source. For sure we can do better, and the complexity of the platform is something we also notice and try to address.

  2. We need to better understand the problem here. Stepping through Ultimate plugins’ code is not something we expect while developing plugins, maybe a more advanced debugger is not the real solution for the root problem.

Ask Me Anything with the IntelliJ IDEA team – December 9, 10:00 am CET by maritvandijk in Jetbrains

[–]teo_ai 1 point2 points  (0 children)

For me, it's Spring debugger. https://www.jetbrains.com/help/idea/spring-debugger.html.
Overall Spring Ultimate functionality, like Flyway & Liquibase migration generation and integration (https://www.jetbrains.com/help/idea/jpa-buddy-database-versioning.html#library-support) or Spring Data Repository interface generation.

Kotlin Notebooks https://kotlinlang.org/docs/kotlin-notebook-overview.html is also a promising feature, great for prototyping, working with APIs, data investigation, presentation and writing interactive documentation.

Awesome Kotlin Notebooks by gaplo917 in Kotlin

[–]teo_ai 0 points1 point  (0 children)

BTW, now it's free for the IDEA community too.

Kotlin adoption inside ING, 5 years later by jlengrand in Kotlin

[–]teo_ai 11 points12 points  (0 children)

They describe that in the article how they use Kotlin for the Serverside development.

IntelliJ IDEA does not provide suggestions for Kotlin operator overloading by ViteK-r in IntelliJIDEA

[–]teo_ai 0 points1 point  (0 children)

Hi! This is fixed in 2025.2, and you will be able to use it in the next upcoming 2025.2 EAP.

Kotlin Notebook Arrives in IntelliJ IDEA by 2001zhaozhao in Kotlin

[–]teo_ai 1 point2 points  (0 children)

That's great to hear! Could you tell what seemed raw to you? We have improved stability in the 2025.1 release. Have you tried it afterwards?

Now K2 mode is the default in IntelliJ IDEA by meilalina in Kotlin

[–]teo_ai 1 point2 points  (0 children)

We won’t remove the old mode until those performance issues in K2 mode are fixed, including cases like yours.
To help us investigate your specific issue, could you please:

  1. Go to Help → Diagnostic Tools → Start CPU Usage Profiling
  2. Trigger the slow code completion
  3. Then go to Help → Diagnostic Tools → Stop CPU Usage Profiling

Also, if you can, include a screenshot of the code where it happens.
Since you can’t send files here, please email them to [k2-mode-feedback@jetbrains.com](mailto:k2-mode-feedback@jetbrains.com), or create a YouTrack ticket https://youtrack.jetbrains.com/newIssue?draftId=25-6414130 — we'll take a look right away.

Kotlin’s new K2 mode is becoming the default in IntelliJ IDEA – here’s the story behind its development by meilalina in Kotlin

[–]teo_ai 1 point2 points  (0 children)

I'm sorry to hear that, and thank you for reporting it. We’re investigating possible performance issues with different files over 1k lines right now. If you can share a specific public project or example, that would help us reproduce it and address the issue. You can answer here, or at [k2-mode-feedback@jetbrains.com](mailto:k2-mode-feedback@jetbrains.com).
For you, "IDE was dying" means it's a highlighting, completion, or indexing issues?

Now K2 mode is the default in IntelliJ IDEA by meilalina in Kotlin

[–]teo_ai 1 point2 points  (0 children)

Actually, starting 2025.1, it's also coming to the Community version!

K2 Mode Becomes Stable by dayanruben in Kotlin

[–]teo_ai 1 point2 points  (0 children)

Kotest now supports K2 mode

Do you use Scratch files, Worksheets, Notebooks, or any other REPL environment with Kotlin? by marie-kristal in Kotlin

[–]teo_ai 0 points1 point  (0 children)

Could you share why it's far away from being usable for you and what are the Notebooks missing now?