[Kotlin] Bring back module names in expect/actual popup

Also rework UI logic in the popup — show symbol names only if symbols from the same module are shown, otherwise show only module names

^KTIJ-27115 Verification Pending

GitOrigin-RevId: e8b465ac0a321b1c6f44b9a855303bb311045f48
This commit is contained in:
Artem Daugel-Dauge
2023-10-24 14:51:46 +00:00
committed by intellij-monorepo-bot
parent 1f7e4d459e
commit 227c9f5651
43 changed files with 173 additions and 185 deletions
@@ -1,10 +1,3 @@
package test
expect enum class <!LINE_MARKER("descr='Has actuals in jvm module'")!>Enum<!> { A, B, C, D }
/*
LINEMARKER: Has actuals in JVM
TARGETS:
jvm.kt
actual enum class <5>Enum { <1>A, <2>B, <3>C, <4>D }
*/
expect enum class <!LINE_MARKER("descr='Has actuals in jvm module'; targets=[(text=Enum; container=jvm; icon=nodes/Module.svg); (text=A; container=jvm; icon=nodes/Module.svg); (text=B; container=jvm; icon=nodes/Module.svg); (text=C; container=jvm; icon=nodes/Module.svg); (text=D; container=jvm; icon=nodes/Module.svg)]")!>Enum<!> { A, B, C, D }