If a class is only used from a test, the unused sy...
# announcements
p
If a class is only used from a test, the unused symbol inspection does not mark the class as unsued. Is it possible to fix that somehow?
b
there's a
@file:Suppress("unused")
not sure how to apply it to the whole module tho
as there's no thing like
AnnotationTarget.module
or
AnnotationTarget.pakcage
p
No I don't want to suppress unused usages. Currently I don't find unused symbols if they are referenced from tests only
b
I misunderstood you, well I don't think that's possible
s
Mark the test folder as excluded temporarily. Doesn't have a nice experience, however it might help you achieve what you want
e
Thanks for the suggestion 🙂