Hello everyone, updated my kotlin data class inspe...
# feed
r
Hello everyone, updated my kotlin data class inspection plugin which detects and reminds you to add missing annotations to now support
Moshi
and
Kotlinx Serialization
! https://betterprogramming.pub/integrate-settings-into-a-custom-intellij-code-inspection-plugin-47d845b1c9f5 https://plugins.jetbrains.com/plugin/19430-codespector
😮 2
z
how does it decide when to suggest adding those annotations?
r
If the inspection is not disabled it will highlight the missing annotation as soon as you start creating/editing the data class
z
so it runs on all data classes?
👌 1
r
Currently yes, along with highlighting the missing annotation there is also an option to ignore the inspection which basically excludes the file from inspection.
@Zac Sweers I know its a late update 😉 but I have released a new version which now has support for providing packages which you want to inspect. If no packages are provided then it will continue to inspect all data classes