Support spellchecking in Kotlin string literals; remove unused and unnecessary support for custom suppressions of spelling errors
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<problems>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>1</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>2</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>3</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>4</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>5</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>spelling.kt</file>
|
||||
<line>7</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/spelling.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Typo</problem_class>
|
||||
<description>Typo: In word 'xyzzy'</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1 @@
|
||||
// INSPECTION_CLASS: com.intellij.spellchecker.inspections.SpellCheckingInspection
|
||||
@@ -0,0 +1,8 @@
|
||||
fun xyzzy(): String {
|
||||
// this one is about xyzzy
|
||||
val s = "xyzzy ${xyzzy()} \n good\tbad\n"
|
||||
/* xyzzy in a block comment */
|
||||
/** xyzzy in a documentation comment */
|
||||
fun bar() {}
|
||||
return """xyzzy in a triple quoted string"""
|
||||
}
|
||||
Reference in New Issue
Block a user