Is it possible to suppress the `NAME_SHADOWING` wa...
# announcements
t
Is it possible to suppress the
NAME_SHADOWING
warning in Kotlin, globally? If not, where would I file a request for this feature?
r
You can disable the inspection in IntelliJ
t
How so?
a
It's a compiler warning, not an inspection. Unfortunately we can't suppress specific compiler warnings globally in the compiler or the IDE yet: https://youtrack.jetbrains.com/issue/KT-8087. No need to create a separate issue.
Also, if it's NAME_SHADOWING specifically that's bothering you, consider adding a usecase to https://youtrack.jetbrains.com/issue/KT-24923
Anyway, created a separate issue for suppressing warnings in the IDE for ease of reference: https://youtrack.jetbrains.com/issue/KT-35980. Feel free to vote.