How to exclude from code inspection?
How can we exclude a source file or a section of a source file from code
inspection?
For example, generated code may not conform to local desires. Is either of
the following possible?
Exclude the entire file with generated code.
Exclude the portion of the file with generated code (e.g., through magic
start/end comments).
请先登录再写评论。
The (excellent) Java formatter I use (JIndent) has this option and it works
quite well. You just use "//J-" and "//J+" comments to switch off/on the
Java formatting. It would be very useful to be able to do the same for all
code inspections, and maybe even for specific inspections (or groups of
inspections)? For example you could have "//IJ- " and "//IJ+" comments? "Andy Thomas-Cramer" wrote in message news:c4v7pe$558$1@is.intellij.net... >]]>
>
>
>
>
I added it as a feature request, at:
http://www.intellij.net/tracker/idea/viewSCR?publicId=31395
"Richard Kent" <tichkent@blueyonder.co.uk> wrote in message
news:c50eng$k5r$1@is.intellij.net...
works
>
>
>
of
magic
>
>