nbadal / ktlint-intellij-plugin

Ktlint plugin for IntelliJ IDEA + Android Studio
MIT License
151 stars 23 forks source link

Add options to suppress a violation for the current method, class, file #480

Open paul-dingemans opened 4 months ago

paul-dingemans commented 4 months ago

Currently a suppression can only be added for the current statement. Make it possible to add the suppression on the method, class or file in which the statement occurs. Of course the method and class option should only be offered when applicable.