Tóth István Zoltán
07/14/2025, 11:00 AMGiorgio Vespucci
07/14/2025, 3:32 PMTóth István Zoltán
07/14/2025, 3:38 PMGiorgio Vespucci
07/14/2025, 3:38 PMAnna Kozlova
07/14/2025, 5:14 PMUnambiguous imports on the fly
would work when single class by short name is available. Otherwise, IDEA won't know where to take fully qualified names.wasyl
07/14/2025, 5:18 PMTóth István Zoltán
07/14/2025, 5:22 PMAnna Kozlova
07/14/2025, 5:23 PMTóth István Zoltán
07/14/2025, 5:23 PMAnna Kozlova
07/14/2025, 5:23 PMTóth István Zoltán
07/14/2025, 5:24 PMwasyl
07/14/2025, 5:29 PMwe remember the FQNs in "metadata".my question is, is the metadata stored in the IDE or in the clipboard data? I suspect it's in the IDE
Anna Kozlova
07/14/2025, 6:16 PMwasyl
07/14/2025, 6:26 PMAnna Kozlova
07/14/2025, 6:42 PMAdam S
07/14/2025, 9:05 PMAdam S
07/14/2025, 9:11 PMimport java.nio.file.Path
class Foo {
fun bar(file: Path) {
println(file)
}
}
Currently, if you paste it at the end of an existing file, the code will be invalid because the imports need to be at the top. But IJ could just automatically merge the pasted imports with the existing imports.
I made a similar request for kts scripts, because it would help with Gradle scripts https://youtrack.jetbrains.com/issue/KTIJ-30687/K1-IDE-Automatically-move-import-statement-to-the-top-of-the-file-on-paste-in-scriptsAdam S
07/14/2025, 9:14 PMTóth István Zoltán
07/15/2025, 1:29 AM