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.