TrailingCommaPostFormatProcessor: improve findInvalidCommas
Add case for line break between argument and comma #KT-34744
This commit is contained in:
@@ -23,6 +23,7 @@ import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Comp
|
||||
import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.trailingCommaAllowedInModule
|
||||
import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.trailingCommaOrLastElement
|
||||
import org.jetbrains.kotlin.idea.project.languageVersionSettings
|
||||
import org.jetbrains.kotlin.idea.util.isLineBreak
|
||||
import org.jetbrains.kotlin.idea.util.isMultiline
|
||||
import org.jetbrains.kotlin.idea.util.module
|
||||
import org.jetbrains.kotlin.idea.util.needTrailingComma
|
||||
@@ -39,12 +40,15 @@ class TrailingCommaPostFormatProcessor : PostFormatProcessor {
|
||||
TrailingCommaPostFormatVisitor(settings).processText(source, rangeToReformat)
|
||||
|
||||
companion object {
|
||||
fun findInvalidCommas(commaOwner: KtElement): List<PsiElement> = commaOwner.firstChild?.siblings(withItself = false)?.mapNotNull {
|
||||
if (it.isComma && it.leafIgnoringWhitespace(false) != it.leafIgnoringWhitespaceAndComments(false))
|
||||
it
|
||||
else
|
||||
null
|
||||
}?.toList().orEmpty()
|
||||
fun findInvalidCommas(commaOwner: KtElement): List<PsiElement> = commaOwner.firstChild
|
||||
?.siblings(withItself = false)
|
||||
?.mapNotNull { element ->
|
||||
if (!element.isComma) return@mapNotNull null
|
||||
element.takeIf {
|
||||
it.prevLeaf(true)?.isLineBreak() == true ||
|
||||
it.leafIgnoringWhitespace(false) != it.leafIgnoringWhitespaceAndComments(false)
|
||||
}
|
||||
}?.toList().orEmpty()
|
||||
|
||||
fun needComma(
|
||||
commaOwner: KtElement,
|
||||
|
||||
@@ -103,7 +103,7 @@ class TrailingCommaInspection(
|
||||
fixMessage: String,
|
||||
highlightType: ProblemHighlightType = ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
|
||||
) {
|
||||
val commaOwner = commaOrElement.parent
|
||||
val commaOwner = commaOrElement.parent as KtElement
|
||||
// case for KtFunctionLiteral, where PsiWhiteSpace after KtTypeParameterList isn't included in this list
|
||||
val problemOwner = commaOwner.parent
|
||||
holder.registerProblem(
|
||||
@@ -111,7 +111,7 @@ class TrailingCommaInspection(
|
||||
message,
|
||||
highlightType,
|
||||
commaOrElement.textRangeOfCommaOrSymbolAfter.shiftLeft(problemOwner.startOffset),
|
||||
ReformatQuickFix(fixMessage, commaOwner),
|
||||
ReformatQuickFix(fixMessage, commaOwner, createFormatterTextRange(commaOwner)),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -126,10 +126,16 @@ class TrailingCommaInspection(
|
||||
"Missing line break",
|
||||
highlightType,
|
||||
TextRange.from(elementForTextRange.startOffset, 1).shiftLeft(problemElement.startOffset),
|
||||
ReformatQuickFix("Add line break", commaOwner),
|
||||
ReformatQuickFix("Add line break", commaOwner, createFormatterTextRange(commaOwner)),
|
||||
)
|
||||
}
|
||||
|
||||
private fun createFormatterTextRange(commaOwner: KtElement): TextRange {
|
||||
val startElement = TrailingCommaPostFormatProcessor.elementBeforeFirstElement(commaOwner) ?: commaOwner
|
||||
val endElement = TrailingCommaPostFormatProcessor.elementAfterLastElement(commaOwner) ?: commaOwner
|
||||
return TextRange.create(startElement.startOffset, endElement.endOffset)
|
||||
}
|
||||
|
||||
private val PsiElement.textRangeOfCommaOrSymbolAfter: TextRange
|
||||
get() {
|
||||
val textRange = textRange
|
||||
|
||||
@@ -8,11 +8,12 @@ package org.jetbrains.kotlin.idea.quickfix
|
||||
import com.intellij.codeInspection.LocalQuickFix
|
||||
import com.intellij.codeInspection.ProblemDescriptor
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.TextRange
|
||||
import com.intellij.psi.PsiElement
|
||||
import com.intellij.psi.codeStyle.CodeStyleManager
|
||||
import org.jetbrains.kotlin.psi.psiUtil.createSmartPointer
|
||||
|
||||
class ReformatQuickFix(private val description: String, element: PsiElement? = null) : LocalQuickFix {
|
||||
class ReformatQuickFix(private val description: String, element: PsiElement? = null, val textRange: TextRange? = null) : LocalQuickFix {
|
||||
private val elementPoint = element?.createSmartPointer()
|
||||
|
||||
override fun getName(): String = description
|
||||
@@ -21,7 +22,12 @@ class ReformatQuickFix(private val description: String, element: PsiElement? = n
|
||||
|
||||
override fun applyFix(project: Project, descriptor: ProblemDescriptor) {
|
||||
(elementPoint?.element ?: descriptor.psiElement)?.let {
|
||||
CodeStyleManager.getInstance(project).reformat(it)
|
||||
val codeStyleManager = CodeStyleManager.getInstance(project)
|
||||
if (textRange != null) {
|
||||
codeStyleManager.reformatRange(it, textRange.startOffset, textRange.endOffset)
|
||||
} else {
|
||||
codeStyleManager.reformat(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+468
@@ -815,6 +815,18 @@
|
||||
<offset>33</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>208</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -899,6 +911,18 @@
|
||||
<offset>25</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>214</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>213</line>
|
||||
@@ -1631,6 +1655,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -1655,6 +1691,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
@@ -1691,6 +1739,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
@@ -1739,6 +1799,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
@@ -1763,6 +1835,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
@@ -1787,6 +1871,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
@@ -1811,6 +1907,18 @@
|
||||
<offset>21</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
@@ -1823,6 +1931,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
@@ -1871,6 +1991,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>338</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>337</line>
|
||||
@@ -1907,6 +2039,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
@@ -1931,6 +2075,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
@@ -1955,6 +2111,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
@@ -1967,6 +2135,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>399</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>410</line>
|
||||
@@ -1991,6 +2171,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
@@ -2051,6 +2243,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
@@ -3239,6 +3443,18 @@
|
||||
<offset>38</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
@@ -3263,6 +3479,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
@@ -3287,6 +3515,18 @@
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
@@ -3311,6 +3551,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -3323,6 +3575,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
@@ -3347,6 +3611,18 @@
|
||||
<offset>9</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>160</line>
|
||||
@@ -3395,6 +3671,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
@@ -3443,6 +3731,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
@@ -3467,6 +3767,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -3491,6 +3803,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
@@ -3515,6 +3839,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
@@ -3527,6 +3863,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
@@ -3575,6 +3923,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -3599,6 +3959,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
@@ -3623,6 +3995,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -3635,6 +4019,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>157</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>168</line>
|
||||
@@ -3659,6 +4055,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
@@ -3695,6 +4103,18 @@
|
||||
<offset>9</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>202</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -3743,6 +4163,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
@@ -3755,6 +4187,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>235</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>240</line>
|
||||
@@ -3971,6 +4415,18 @@
|
||||
<offset>56</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>41</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>40</line>
|
||||
@@ -4631,6 +5087,18 @@
|
||||
<offset>42</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>75</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="IndicesAccess.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>74</line>
|
||||
|
||||
+432
@@ -275,6 +275,18 @@
|
||||
<offset>33</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>208</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -311,6 +323,18 @@
|
||||
<offset>15</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>214</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>213</line>
|
||||
@@ -803,6 +827,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -827,6 +863,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
@@ -863,6 +911,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
@@ -899,6 +959,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
@@ -923,6 +995,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
@@ -947,6 +1031,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
@@ -971,6 +1067,18 @@
|
||||
<offset>21</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
@@ -983,6 +1091,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
@@ -1031,6 +1151,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>338</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>337</line>
|
||||
@@ -1067,6 +1199,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
@@ -1091,6 +1235,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
@@ -1115,6 +1271,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
@@ -1127,6 +1295,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>399</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>410</line>
|
||||
@@ -1151,6 +1331,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
@@ -1199,6 +1391,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
@@ -1535,6 +1739,18 @@
|
||||
<offset>38</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
@@ -1559,6 +1775,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
@@ -1583,6 +1811,18 @@
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
@@ -1607,6 +1847,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -1619,6 +1871,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
@@ -1679,6 +1943,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
@@ -1703,6 +1979,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
@@ -1727,6 +2015,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -1751,6 +2051,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
@@ -1775,6 +2087,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
@@ -1787,6 +2111,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
@@ -1823,6 +2159,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -1847,6 +2195,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
@@ -1871,6 +2231,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -1883,6 +2255,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>157</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>168</line>
|
||||
@@ -1907,6 +2291,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
@@ -1967,6 +2363,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
@@ -2123,6 +2531,18 @@
|
||||
<offset>56</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>41</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>40</line>
|
||||
@@ -2423,6 +2843,18 @@
|
||||
<offset>42</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>75</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="IndicesAccess.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>74</line>
|
||||
|
||||
+468
@@ -1223,6 +1223,18 @@
|
||||
<offset>33</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>208</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -1331,6 +1343,18 @@
|
||||
<offset>25</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>214</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>213</line>
|
||||
@@ -2327,6 +2351,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -2363,6 +2399,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
@@ -2399,6 +2447,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
@@ -2471,6 +2531,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
@@ -2507,6 +2579,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
@@ -2543,6 +2627,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
@@ -2579,6 +2675,18 @@
|
||||
<offset>21</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
@@ -2591,6 +2699,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
@@ -2711,6 +2831,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>338</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>337</line>
|
||||
@@ -2759,6 +2891,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
@@ -2795,6 +2939,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
@@ -2831,6 +2987,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
@@ -2843,6 +3011,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>399</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>407</line>
|
||||
@@ -2879,6 +3059,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
@@ -2987,6 +3179,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
@@ -4751,6 +4955,18 @@
|
||||
<offset>38</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
@@ -4787,6 +5003,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
@@ -4823,6 +5051,18 @@
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
@@ -4859,6 +5099,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -4871,6 +5123,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
@@ -4919,6 +5183,18 @@
|
||||
<offset>10</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -4991,6 +5267,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
@@ -5075,6 +5363,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
@@ -5111,6 +5411,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -5147,6 +5459,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
@@ -5183,6 +5507,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
@@ -5195,6 +5531,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
@@ -5279,6 +5627,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -5315,6 +5675,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
@@ -5351,6 +5723,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -5363,6 +5747,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>157</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>165</line>
|
||||
@@ -5399,6 +5795,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
@@ -5471,6 +5879,18 @@
|
||||
<offset>10</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>202</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>202</line>
|
||||
@@ -5543,6 +5963,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
@@ -5579,6 +6011,18 @@
|
||||
<offset>10</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>235</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>235</line>
|
||||
@@ -5903,6 +6347,18 @@
|
||||
<offset>56</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>41</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>40</line>
|
||||
@@ -6839,6 +7295,18 @@
|
||||
<offset>42</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>75</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="IndicesAccess.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>74</line>
|
||||
|
||||
+432
@@ -275,6 +275,18 @@
|
||||
<offset>33</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>208</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -311,6 +323,18 @@
|
||||
<offset>15</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>214</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>213</line>
|
||||
@@ -803,6 +827,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -827,6 +863,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
@@ -863,6 +911,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
@@ -899,6 +959,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
@@ -923,6 +995,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
@@ -947,6 +1031,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
@@ -971,6 +1067,18 @@
|
||||
<offset>21</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
@@ -983,6 +1091,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
@@ -1031,6 +1151,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>338</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>337</line>
|
||||
@@ -1067,6 +1199,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
@@ -1091,6 +1235,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
@@ -1115,6 +1271,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
@@ -1127,6 +1295,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>399</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>410</line>
|
||||
@@ -1151,6 +1331,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
@@ -1199,6 +1391,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
@@ -1535,6 +1739,18 @@
|
||||
<offset>38</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
@@ -1559,6 +1775,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
@@ -1583,6 +1811,18 @@
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
@@ -1607,6 +1847,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -1619,6 +1871,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
@@ -1679,6 +1943,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
@@ -1703,6 +1979,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
@@ -1727,6 +2015,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -1751,6 +2051,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
@@ -1775,6 +2087,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
@@ -1787,6 +2111,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
@@ -1823,6 +2159,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -1847,6 +2195,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
@@ -1871,6 +2231,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -1883,6 +2255,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>157</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>168</line>
|
||||
@@ -1907,6 +2291,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
@@ -1967,6 +2363,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
@@ -2123,6 +2531,18 @@
|
||||
<offset>56</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>41</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>40</line>
|
||||
@@ -2423,6 +2843,18 @@
|
||||
<offset>42</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>75</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="IndicesAccess.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>74</line>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
|
||||
// FIX: Fix comma position
|
||||
|
||||
val x = {
|
||||
x: Comparable<Comparable<Number>>,
|
||||
y: String
|
||||
<caret>,->
|
||||
val a = 42
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
|
||||
// FIX: Fix comma position
|
||||
|
||||
val x = {
|
||||
x: Comparable<Comparable<Number>>,
|
||||
y: String,
|
||||
->
|
||||
val a = 42
|
||||
}
|
||||
+3
-13
@@ -12320,19 +12320,9 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/trailingComma/changeCommaPosition4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("missingLineBreak.kt")
|
||||
public void testMissingLineBreak() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/trailingComma/missingLineBreak.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("missingLineBreak2.kt")
|
||||
public void testMissingLineBreak2() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/trailingComma/missingLineBreak2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("missingLineBreak3.kt")
|
||||
public void testMissingLineBreak3() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/trailingComma/missingLineBreak3.kt");
|
||||
@TestMetadata("changeCommaPosition5.kt")
|
||||
public void testChangeCommaPosition5() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/trailingComma/changeCommaPosition5.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("missingLineBreak.kt")
|
||||
|
||||
Reference in New Issue
Block a user