https://kotlinlang.org logo
Title
l

louiscad

12/18/2017, 1:39 PM
Any library devs that can help me on this?
c

Czar

12/18/2017, 1:41 PM
You can disable/enable inspections in the settings, or even create custom profiles
l

louiscad

12/18/2017, 1:45 PM
@Czar Yep, but it disables it for all projects and all modules anyway. I'd like it to be applied on a per-module basis where the sample app would get the warnings, but not library module
c

Czar

12/18/2017, 1:51 PM
Settings → Appearance & Behaviour → Scopes Define your modules' scope Disable inspection on this scope.
👍🏽 1
l

louiscad

12/18/2017, 2:08 PM
Thanks a lot @Czar! Still had to invalidate caches and restart, but that solved my problem! :😄
c

czyzby

12/18/2017, 10:30 PM
Write tests for every public method, they will no longer be marked as unused or possibly private.
1
l

louiscad

12/19/2017, 8:37 AM
Nice idea @czyzby !