In K2 mode, IntelliJ IDEA 2024.2 Beta doesn't auto-complete constructors anymore.
Copy code
data class Foo(
val a: Int,
)
data class Bar(
val foo: Foo,
)
Bar(
// Cursor here
)
In K1 mode, "Code completion → Type matching" proposes to write
Foo(…)
In K2 mode, it says "no suggestions"
d
dmitriy.novozhilov
07/20/2024, 6:36 AM
cc @Roman Golyshev
thank you color 1
r
Roman Golyshev
07/22/2024, 9:14 AM
Hey! You’re probably referring to the so called “Smart completion”; it is not implemented yet in K2 mode, unfortunately
See this issue for the updates: https://youtrack.jetbrains.com/issue/KTIJ-26166