Join Slack
Powered by
Is there some way to do a project wide suppression...
# getting-started
z
zt
08/28/2023, 4:06 AM
Is there some way to do a project wide suppression? I wanna suppress this on every single kotlin file. Maybe through intellij, or gradle?
Copy code
@file:Suppress("MISSING_DEPENDENCY_SUPERCLASS")
a
ascii
08/28/2023, 5:19 AM
IntelliJ Settings > Editor > Inspections, or alternatively you can disable it via Alt + Enter on the warning itself
z
zt
08/28/2023, 6:54 AM
its not an inspection and there isn't any option to disable it
h
hho
08/28/2023, 10:16 AM
Not possible currently:
https://youtrack.jetbrains.com/issue/KT-8087/Make-it-possible-to-suppress-warnings-globally-in-compiler-via-command-line-option
3
Views
Open in Slack
Previous
Next