CLOVIS
10/22/2026, 8:30 AM.name generated by an enum?Tanja Stojiljkovic
10/22/2026, 12:52 PMname is inherited from kotlin.Enum, so in my test Find Usages included usages from both enum types.For a specific enum, use Edit | Find | Structural Search with the language set to Kotlin, the scope set to In Project, and the template $e$.name. Then add a Type modifier to $e$ and enter the enum type.
Does this work for you?CLOVIS
10/22/2026, 1:07 PMTanja Stojiljkovic
10/22/2026, 1:12 PM$e$ in the search template first. The right panel will then show Add modifier. Click it, choose Type, and enter your enum type, for example Color.
If Find is disabled, the template doesn't match anything in the project yet, so make sure the project contains a .name call on an enum.CLOVIS
10/22/2026, 1:26 PM