Files
openide/plugins/kotlin/analysis
Frederik Haselmeier 6cff66c9a4 [Kotlin] Allow importing nested declarations when pasting from code in which they were imported
Previously, nested declarations (enum values, nested objects, static Java imports, etc.) were not copy-pasted as is, but instead fully qualified and then shortened based on the user's code style settings (which disallows importing nested declarations by default). This commit changes the behaviour of the KotlinCopyPasteReferenceProcessor and ShorteningProcessor to allow fully importing references regardless of the code style setting, which will closely resemble the original code.

^KTIJ-10687 fixed

GitOrigin-RevId: 68ccfa51d5563a62e712863feff187df5515b908
2024-02-21 14:03:55 +00:00
..