Unused import highlighting

#KT-5236 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-07-13 20:01:54 +03:00
parent 8c02ce73a4
commit e5d8eecc9d
7 changed files with 182 additions and 36 deletions
@@ -0,0 +1,20 @@
<problems>
<problem>
<file>file.kt</file>
<line>1</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="simple.kt" />
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused import directive</problem_class>
<description>Unused import directive</description>
</problem>
<problem>
<file>file.kt</file>
<line>4</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="simple.kt" />
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused import directive</problem_class>
<description>Unused import directive</description>
</problem>
</problems>
@@ -0,0 +1 @@
// INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.UnusedImportInspection