Code inspection for certain methods (patterns)
已回答
I would like to disable code inspection for certain public methods based on their annotation and/or pattern/prefix.
Is that possible or can this be made possible?
请先登录再写评论。
Certain inspections have settings to ignore specially annotated classes or methods, but there is no generic way to do it for all inspections. Feature request with the use case and the code sample is welcome at https://youtrack.jetbrains.com/issues/IDEA.
Inspections can be enabled/disabled per scope, but scope doesn't operate individual methods, only files.