I want to import an inspection profile to my IntelliJ IDEA project. I have tried the following: click on the inspector icon (down-right corner of the window) -> configure inspections -> import -> [select the profile XML file] -> OK. After doing so, no error message appears and it looks like, indeed, everything went OK. But when I look again at the list of available inspection profiles, the recently imported profile is not available.
Am I doing something wrong? Is there any known bug about this issue?
This is what the file contains:
<?xml version="1.0" encoding="UTF-8"?>
<inspections version="1.0" is_locked="false">
<option name="myName" value="Heavier Inspection" />
<option name="myLocal" value="false" />
<inspection_tool class="JavadocReference" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="MissingClassJavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
<option name="methodDetectionLevel" value="private" />
<option name="checkAnonymousClasses" value="true" />
<option name="useSingleLineReferences" value="true" />
</inspection_tool>
<inspection_tool class="MissingFieldJavaDoc" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="MissingMethodJavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
<option name="methodDetectionLevel" value="private" />
<option name="checkAnonymousClasses" value="true" />
<option name="useSingleLineReferences" value="true" />
</inspection_tool>
<inspection_tool class="RedundantSuppression" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
</inspection_tool>
<inspection_tool class="TodoComment" enabled="true" level="WARNING" enabled_by_default="true" />
</inspections>