when i have a data class with a member named `valu...
# intellij
g
when i have a data class with a member named
value
and i rename it, i see that intellij searches across too many files and i assume it is because of the field name. Is this expected? the class in this case is
data class Days(val value: Int)
which was not used anywhere
a
Looks like KTIJ-12718. Sorry, we would take care of such kind of issues
w
This has been the case for years now, there are two solutions: • trigger search for a data class field usage, open settings and disable searching for destructuring declarations (or something like that) — this will speed things up somewhat • the search will still take forever if you change a field with a common name in other data classes, like
id
or
name
. Last I heard this may be fixed in K2 plugin, probably not in K1
g
thanks both. I face other problems with K2 but i will try it to see how it goes
thank you color 2