Add inspection to detect copy() calls in a data class without named arguments
So #KT-17660 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2c10f253c5
commit
a8b2d3b4e8
@@ -2141,6 +2141,14 @@
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.CopyWithoutNamedArgumentsInspection"
|
||||
displayName="'copy' method of data class is called without named arguments"
|
||||
groupName="Kotlin"
|
||||
enabledByDefault="true"
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
|
||||
|
||||
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>
|
||||
|
||||
Reference in New Issue
Block a user