IG: Suppressing warning on case by case basis
Would be nice if we could tell IG to skip reporting for a particular
instance(statement/line of code)
How about putting //@IG:Ignore:InspectionName=Key1 comment next to
problematic statement in source code to let IG know that it is ok to ignore
if Key1 value is defined when running inspection (or in your edit time
inspection config) . Sort of conditional inspection
It would be nice to have an intention to do just that
I see the difficulties with precision of course
Alex
请先登录再写评论。
See:
http://www.intellij.net/tracker/idea/viewSCR?publicId=3665
http://www.intellij.net/tracker/idea/viewSCR?publicId=6802
http://www.intellij.net/tracker/idea/viewSCR?publicId=31395
"Alex Roytman" <roytmana@peacetech.com> wrote in message
news:c8ipk6$dvc$1@is.intellij.net...
>
>
ignore
>
>
>
>