Implement TrailingCommaInspection
#KT-34744
This commit is contained in:
@@ -2922,6 +2922,15 @@
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.TrailingCommaInspection"
|
||||
displayName="Trailing comma recommendations"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.FakeJvmFieldConstantInspection"
|
||||
displayName="Kotlin non-const property used as Java constant"
|
||||
groupPath="Kotlin"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports commas which have a different position from the one recommended in the style guide,
|
||||
and offers to reformat them.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user