diff --git a/idea/formatter/src/org/jetbrains/kotlin/idea/util/FormatterUtil.kt b/idea/formatter/src/org/jetbrains/kotlin/idea/util/FormatterUtil.kt index 618a236795c..0efdb45577d 100644 --- a/idea/formatter/src/org/jetbrains/kotlin/idea/util/FormatterUtil.kt +++ b/idea/formatter/src/org/jetbrains/kotlin/idea/util/FormatterUtil.kt @@ -53,7 +53,7 @@ fun PsiElement.getLineCount(): Int { fun PsiElement.isMultiline() = getLineCount() > 1 -fun KtFunctionLiteral.needTrailingComma(settings: CodeStyleSettings, checkExistingTrailingComma: Boolean = true): Boolean = +fun KtFunctionLiteral.needTrailingComma(settings: CodeStyleSettings?, checkExistingTrailingComma: Boolean = true): Boolean = needTrailingComma( settings = settings, trailingComma = { if (checkExistingTrailingComma) valueParameterList?.trailingComma else null }, @@ -61,14 +61,14 @@ fun KtFunctionLiteral.needTrailingComma(settings: CodeStyleSettings, checkExisti globalEndOffset = { arrow?.endOffset }, ) -fun KtWhenEntry.needTrailingComma(settings: CodeStyleSettings, checkExistingTrailingComma: Boolean = true): Boolean = needTrailingComma( +fun KtWhenEntry.needTrailingComma(settings: CodeStyleSettings?, checkExistingTrailingComma: Boolean = true): Boolean = needTrailingComma( settings = settings, trailingComma = { if (checkExistingTrailingComma) trailingComma else null }, additionalCheck = { !isElse }, globalEndOffset = { arrow?.endOffset }, ) -fun KtDestructuringDeclaration.needTrailingComma(settings: CodeStyleSettings, checkExistingTrailingComma: Boolean = true): Boolean = +fun KtDestructuringDeclaration.needTrailingComma(settings: CodeStyleSettings?, checkExistingTrailingComma: Boolean = true): Boolean = needTrailingComma( settings = settings, trailingComma = { if (checkExistingTrailingComma) trailingComma else null }, @@ -77,13 +77,13 @@ fun KtDestructuringDeclaration.needTrailingComma(settings: CodeStyleSettings, ch ) fun T.needTrailingComma( - settings: CodeStyleSettings, + settings: CodeStyleSettings?, trailingComma: T.() -> PsiElement?, additionalCheck: () -> Boolean = { true }, globalStartOffset: T.() -> Int? = PsiElement::startOffset, globalEndOffset: T.() -> Int? = PsiElement::endOffset, ): Boolean { - if (trailingComma() == null && !settings.kotlinCustomSettings.addTrailingCommaIsAllowedFor(this)) return false + if (trailingComma() == null && settings?.kotlinCustomSettings?.addTrailingCommaIsAllowedFor(this) == false) return false if (!additionalCheck()) return false val startOffset = globalStartOffset() ?: return false diff --git a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt index 061dc411ca9..67921346326 100644 --- a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt +++ b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt @@ -19,6 +19,7 @@ import com.intellij.openapi.module.Module import com.intellij.openapi.project.Project import com.intellij.openapi.startup.StartupManager import com.intellij.openapi.util.io.FileUtil +import com.intellij.openapi.util.registry.Registry import com.intellij.openapi.util.text.StringUtil import com.intellij.openapi.vfs.VfsUtilCore import com.intellij.openapi.vfs.newvfs.impl.VfsRootAccess @@ -270,6 +271,22 @@ fun configureCompilerOptions(fileText: String, project: Project, module: Module) return false } +fun configureRegistryAndRun(fileText: String, body: () -> T) { + val registers = InTextDirectivesUtils.findListWithPrefixes(fileText, "// REGISTRY:") + .map { it.split(' ') } + .map { Registry.get(it.first()) to it.last() } + try { + for ((register, value) in registers) { + register.setValue(value) + } + body() + } finally { + for ((register, _) in registers) { + register.resetToDefault() + } + } +} + fun rollbackCompilerOptions(project: Project, module: Module) { configureLanguageAndApiVersion(project, module, LanguageVersion.LATEST_STABLE.versionString) diff --git a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.192 b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.192 index 52f8dd24e5b..45ebffa127a 100644 --- a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.192 +++ b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.192 @@ -19,6 +19,7 @@ import com.intellij.openapi.module.Module import com.intellij.openapi.project.Project import com.intellij.openapi.startup.StartupManager import com.intellij.openapi.util.io.FileUtil +import com.intellij.openapi.util.registry.Registry import com.intellij.openapi.util.text.StringUtil import com.intellij.openapi.vfs.VfsUtilCore import com.intellij.openapi.vfs.newvfs.impl.VfsRootAccess @@ -272,6 +273,22 @@ fun configureCompilerOptions(fileText: String, project: Project, module: Module) return false } +fun configureRegistryAndRun(fileText: String, body: () -> T) { + val registers = InTextDirectivesUtils.findListWithPrefixes(fileText, "// REGISTRY:") + .map { it.split(' ') } + .map { Registry.get(it.first()) to it.last() } + try { + for ((register, value) in registers) { + register.setValue(value) + } + body() + } finally { + for ((register, _) in registers) { + register.resetToDefault() + } + } +} + fun rollbackCompilerOptions(project: Project, module: Module) { configureLanguageAndApiVersion(project, module, LanguageVersion.LATEST_STABLE.versionString) diff --git a/idea/src/org/jetbrains/kotlin/idea/formatter/TrailingCommaPostFormatProcessor.kt b/idea/src/org/jetbrains/kotlin/idea/formatter/TrailingCommaPostFormatProcessor.kt index a705bd571a8..84dc66166fa 100644 --- a/idea/src/org/jetbrains/kotlin/idea/formatter/TrailingCommaPostFormatProcessor.kt +++ b/idea/src/org/jetbrains/kotlin/idea/formatter/TrailingCommaPostFormatProcessor.kt @@ -5,7 +5,6 @@ package org.jetbrains.kotlin.idea.formatter -import com.intellij.application.options.CodeStyle import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi.util.TextRange import com.intellij.openapi.util.registry.Registry @@ -46,7 +45,7 @@ class TrailingCommaPostFormatProcessor : PostFormatProcessor { fun needComma( commaOwner: KtElement, - settings: CodeStyleSettings = CodeStyle.getSettings(commaOwner.project), + settings: CodeStyleSettings?, checkExistingTrailingComma: Boolean = true, ): Boolean = when { commaOwner is KtWhenEntry -> @@ -60,7 +59,7 @@ class TrailingCommaPostFormatProcessor : PostFormatProcessor { else -> (checkExistingTrailingComma && trailingCommaOrLastElement(commaOwner)?.isComma == true || - settings.kotlinCustomSettings.addTrailingCommaIsAllowedFor(commaOwner)) && + settings?.kotlinCustomSettings?.addTrailingCommaIsAllowedFor(commaOwner) != false) && commaOwner.isMultiline() } diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/TrailingCommaInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/TrailingCommaInspection.kt index faeeb270513..a3b45fbb011 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/TrailingCommaInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/TrailingCommaInspection.kt @@ -6,28 +6,25 @@ package org.jetbrains.kotlin.idea.inspections import com.intellij.application.options.CodeStyle +import com.intellij.codeInspection.LocalQuickFix +import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemHighlightType import com.intellij.codeInspection.ProblemsHolder import com.intellij.codeInspection.ui.MultipleCheckboxOptionsPanel import com.intellij.openapi.application.ApplicationManager +import com.intellij.openapi.project.Project import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiElement import com.intellij.psi.PsiElementVisitor -import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor +import com.intellij.psi.codeStyle.CodeStyleManager +import org.jetbrains.kotlin.idea.formatter.* import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.findInvalidCommas import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.needComma import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.trailingCommaAllowedInModule import org.jetbrains.kotlin.idea.formatter.TrailingCommaPostFormatProcessor.Companion.trailingCommaOrLastElement -import org.jetbrains.kotlin.idea.formatter.TrailingCommaVisitor -import org.jetbrains.kotlin.idea.formatter.isComma -import org.jetbrains.kotlin.idea.formatter.leafIgnoringWhitespaceAndComments -import org.jetbrains.kotlin.idea.quickfix.ReformatQuickFix import org.jetbrains.kotlin.idea.util.isLineBreak import org.jetbrains.kotlin.psi.KtElement -import org.jetbrains.kotlin.psi.psiUtil.endOffset -import org.jetbrains.kotlin.psi.psiUtil.nextLeaf -import org.jetbrains.kotlin.psi.psiUtil.prevLeaf -import org.jetbrains.kotlin.psi.psiUtil.startOffset +import org.jetbrains.kotlin.psi.psiUtil.* import javax.swing.JComponent class TrailingCommaInspection( @@ -111,7 +108,7 @@ class TrailingCommaInspection( message, highlightType, commaOrElement.textRangeOfCommaOrSymbolAfter.shiftLeft(problemOwner.startOffset), - ReformatQuickFix(fixMessage, commaOwner, createFormatterTextRange(commaOwner)), + createQuickFix(fixMessage, commaOwner), ) } @@ -126,10 +123,29 @@ class TrailingCommaInspection( "Missing line break", highlightType, TextRange.from(elementForTextRange.startOffset, 1).shiftLeft(problemElement.startOffset), - ReformatQuickFix("Add line break", commaOwner, createFormatterTextRange(commaOwner)), + createQuickFix("Add line break", commaOwner), ) } + private fun createQuickFix( + fixMessage: String, + commaOwner: KtElement, + ): LocalQuickFix = object : LocalQuickFix { + val commaOwnerPointer = commaOwner.createSmartPointer() + + override fun getFamilyName(): String = fixMessage + + override fun applyFix(project: Project, problemDescriptor: ProblemDescriptor) { + val element = commaOwnerPointer.element ?: return + val range = createFormatterTextRange(element) + val settings = CodeStyle.getSettings(project).clone() + settings.kotlinCustomSettings.ALLOW_TRAILING_COMMA = true + CodeStyle.doWithTemporarySettings(project, settings) { + CodeStyleManager.getInstance(project).reformatRange(element, range.startOffset, range.endOffset) + } + } + } + private fun createFormatterTextRange(commaOwner: KtElement): TextRange { val startElement = TrailingCommaPostFormatProcessor.elementBeforeFirstElement(commaOwner) ?: commaOwner val endElement = TrailingCommaPostFormatProcessor.elementAfterLastElement(commaOwner) ?: commaOwner @@ -158,13 +174,10 @@ private enum class TrailingCommaAction { ADD, REFORMAT, REMOVE; companion object { - fun create(commaOwner: KtElement): TrailingCommaAction { - val settings = CodeStyle.getSettings(commaOwner.project) - return when { - needComma(commaOwner, settings, checkExistingTrailingComma = false) -> ADD - needComma(commaOwner, settings, checkExistingTrailingComma = true) -> REFORMAT - else -> REMOVE - } + fun create(commaOwner: KtElement): TrailingCommaAction = when { + needComma(commaOwner, null, checkExistingTrailingComma = false) -> ADD + needComma(commaOwner, null, checkExistingTrailingComma = true) -> REFORMAT + else -> REMOVE } } } \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOffWithCodeStyle/inspectionData/expected.xml b/idea/testData/inspections/trailingCommaOffWithCodeStyle/inspectionData/expected.xml index d0e604f533a..10e3f758b23 100644 --- a/idea/testData/inspections/trailingCommaOffWithCodeStyle/inspectionData/expected.xml +++ b/idea/testData/inspections/trailingCommaOffWithCodeStyle/inspectionData/expected.xml @@ -1,976 +1,4 @@ - - ArgumentList.kt - 2 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 19 - 1 - - - ArgumentList.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - ArgumentList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - ArgumentList.kt - 32 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 38 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 42 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 46 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 43 - 1 - - - ArgumentList.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - ArgumentList.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 82 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 86 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - ArgumentList.kt - 92 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 40 - 1 - - - ArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 110 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 116 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - ArgumentList.kt - 118 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 126 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 82 - 1 - - - ArgumentList.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - ArgumentList.kt - 134 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - ArgumentList.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 19 - 1 - - - ArgumentList.kt - 140 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 141 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 143 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 146 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 152 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 155 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - ArgumentList.kt - 159 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 162 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - ArgumentList.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 177 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 179 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - ArgumentList.kt - 184 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 187 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 12 - 1 - - - ArgumentList.kt - 189 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 193 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 195 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 198 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 199 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 201 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 202 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 204 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 205 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 33 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 207 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 15 - 1 - - - ArgumentList.kt - 210 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - t - 30 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 16 - 1 - - - ArgumentList.kt - 210 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 25 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 213 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 221 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - - - ArgumentList.kt - 223 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - DestructionDeclarationsInLambda.kt 1 @@ -1416,75 +444,291 @@ 1 - WhenEntry.kt - 15 + LambdaParameterList.kt + 12 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - - 44 + x + 9 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 13 testProject light_idea_test_case - + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 38 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + Trailing comma recommendations Comma loses the advantages in this position , - 43 + 4 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 33 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 45 + 5 1 - WhenEntry.kt - 38 + LambdaParameterList.kt + 56 testProject light_idea_test_case - + + Trailing comma recommendations + Missing line break + - + 14 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 81 + testProject + light_idea_test_case + Trailing comma recommendations Useless trailing comma , + 13 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 139 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 9 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , 9 1 - WhenEntry.kt - 54 + LambdaParameterList.kt + 168 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 15 + 17 1 - WhenEntry.kt - 62 + LambdaParameterList.kt + 175 testProject light_idea_test_case - + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + Trailing comma recommendations Missing line break - - 15 + 8 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 1 @@ -1643,6 +887,306 @@ 43 1 + + MultiVariableDeclaration.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + MultiVariableDeclaration.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + MultiVariableDeclaration.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 17 + 1 + + + MultiVariableDeclaration.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 21 + 1 + + + MultiVariableDeclaration.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + MultiVariableDeclaration.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + MultiVariableDeclaration.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + MultiVariableDeclaration.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + MultiVariableDeclaration.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + ParameterList.kt 33 @@ -2267,1434 +1811,6 @@ 8 1 - - MultiVariableDeclaration.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - MultiVariableDeclaration.kt - 14 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 21 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - MultiVariableDeclaration.kt - 44 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 61 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 17 - 1 - - - MultiVariableDeclaration.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 21 - 1 - - - MultiVariableDeclaration.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - MultiVariableDeclaration.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 73 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 17 - 1 - - - MultiVariableDeclaration.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - MultiVariableDeclaration.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - MultiVariableDeclaration.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 4 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 7 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 7 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 8 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 11 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 12 - 1 - - - CollectionLiteralInAnnotation.kt - 15 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 22 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 29 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 17 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 15 - 1 - - - CollectionLiteralInAnnotation.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 44 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 20 - 1 - - - CollectionLiteralInAnnotation.kt - 51 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 21 - 1 - - - CollectionLiteralInAnnotation.kt - 55 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 55 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 10 - 1 - - - CollectionLiteralInAnnotation.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 88 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 88 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 103 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 101 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 103 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - LambdaParameterList.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - x - 9 - 1 - - - LambdaParameterList.kt - 13 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 38 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 14 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 139 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - x - 9 - 1 - - - LambdaParameterList.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 9 - 1 - - - LambdaParameterList.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - TypeParameterList.kt 8 @@ -4296,1287 +2412,75 @@ 1 - TypeArgumentList.kt - 3 + WhenEntry.kt + 15 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - t - 22 + - + 44 1 - TypeArgumentList.kt - 2 + WhenEntry.kt + 21 testProject light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 10 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 11 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 24 - 1 - - - TypeArgumentList.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 24 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 14 - 1 - - - TypeArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 38 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - + Trailing comma recommendations Comma loses the advantages in this position , - 12 - 1 - - - TypeArgumentList.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 13 - 1 - - - TypeArgumentList.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 45 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - TypeArgumentList.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - TypeArgumentList.kt - 53 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - TypeArgumentList.kt - 57 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 17 - 1 - - - TypeArgumentList.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 6 - 1 - - - TypeArgumentList.kt - 62 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - TypeArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - TypeArgumentList.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - TypeArgumentList.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 6 - 1 - - - TypeArgumentList.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 23 - 1 - - - TypeArgumentList.kt - 99 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 34 - 1 - - - TypeArgumentList.kt - 102 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 107 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 107 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 14 - 1 - - - TypeArgumentList.kt - 109 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 12 - 1 - - - IndicesAccess.kt - 2 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 24 - 1 - - - IndicesAccess.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 14 - 1 - - - IndicesAccess.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 31 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 39 - 1 - - - IndicesAccess.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 35 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 39 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 49 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 33 - 1 - - - IndicesAccess.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] 43 1 - IndicesAccess.kt - 64 + WhenEntry.kt + 21 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 17 - 1 - - - IndicesAccess.kt - 72 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - IndicesAccess.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - IndicesAccess.kt - 77 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 89 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 107 - 1 - - - IndicesAccess.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - IndicesAccess.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - IndicesAccess.kt - 105 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 82 - 1 - - - IndicesAccess.kt - 110 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - IndicesAccess.kt - 113 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - IndicesAccess.kt - 117 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 17 - 1 - - - IndicesAccess.kt - 119 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 120 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - IndicesAccess.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 125 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 134 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - IndicesAccess.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 141 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - IndicesAccess.kt - 140 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 144 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 147 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - IndicesAccess.kt - 151 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 154 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 156 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , + - 45 1 - IndicesAccess.kt - 158 + WhenEntry.kt + 38 testProject light_idea_test_case - + Trailing comma recommendations Useless trailing comma , - 45 + 9 1 - IndicesAccess.kt - 160 + WhenEntry.kt + 54 testProject light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - IndicesAccess.kt - 160 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 15 1 - IndicesAccess.kt - 161 + WhenEntry.kt + 62 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - ] - 14 - 1 - - - IndicesAccess.kt - 163 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 166 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 12 - 1 - - - IndicesAccess.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 + - + 15 1 \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOffWithoutCodeStyle/inspectionData/expected.xml b/idea/testData/inspections/trailingCommaOffWithoutCodeStyle/inspectionData/expected.xml index 33b6007179d..10e3f758b23 100644 --- a/idea/testData/inspections/trailingCommaOffWithoutCodeStyle/inspectionData/expected.xml +++ b/idea/testData/inspections/trailingCommaOffWithoutCodeStyle/inspectionData/expected.xml @@ -1,388 +1,4 @@ - - ArgumentList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - ArgumentList.kt - 32 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 46 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - ArgumentList.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - ArgumentList.kt - 116 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - ArgumentList.kt - 159 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 177 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 179 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 184 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 198 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 199 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 201 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 202 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 204 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 205 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 33 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 207 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 15 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 213 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 221 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - - - ArgumentList.kt - 223 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - DestructionDeclarationsInLambda.kt 1 @@ -419,6 +35,30 @@ 50 1 + + DestructionDeclarationsInLambda.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + DestructionDeclarationsInLambda.kt 9 @@ -443,6 +83,18 @@ 52 1 + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + DestructionDeclarationsInLambda.kt 14 @@ -599,6 +251,30 @@ 54 1 + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + DestructionDeclarationsInLambda.kt 40 @@ -623,6 +299,42 @@ 8 1 + + DestructionDeclarationsInLambda.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + DestructionDeclarationsInLambda.kt 45 @@ -647,6 +359,42 @@ 8 1 + + DestructionDeclarationsInLambda.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 9 + 1 + + + DestructionDeclarationsInLambda.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + DestructionDeclarationsInLambda.kt 57 @@ -696,41 +444,293 @@ 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 12 testProject light_idea_test_case - + Trailing comma recommendations - Comma loses the advantages in this position - , - 43 + Missing line break + x + 9 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 13 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 45 + 8 1 - WhenEntry.kt - 38 + LambdaParameterList.kt + 26 testProject light_idea_test_case - + + Trailing comma recommendations + Missing line break + - + 38 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 14 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 81 + testProject + light_idea_test_case + Trailing comma recommendations Useless trailing comma , + 13 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 139 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x 9 1 + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + LambdaParameterList.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + LambdaValueParameters.kt 20 @@ -767,6 +767,42 @@ 45 1 + + LambdaValueParameters.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 41 + 1 + + + LambdaValueParameters.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + LambdaValueParameters.kt 61 @@ -815,6 +851,342 @@ 49 1 + + LambdaValueParameters.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 12 + 1 + + + LambdaValueParameters.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 43 + 1 + + + MultiVariableDeclaration.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + MultiVariableDeclaration.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + MultiVariableDeclaration.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 17 + 1 + + + MultiVariableDeclaration.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 21 + 1 + + + MultiVariableDeclaration.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + MultiVariableDeclaration.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + MultiVariableDeclaration.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + MultiVariableDeclaration.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + MultiVariableDeclaration.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + ParameterList.kt 33 @@ -947,6 +1319,18 @@ 29 1 + + ParameterList.kt + 171 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 28 + 1 + ParameterList.kt 189 @@ -1355,6 +1739,18 @@ 8 1 + + ParameterList.kt + 438 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 14 + 1 + ParameterList.kt 444 @@ -1416,491 +1812,11 @@ 1 - MultiVariableDeclaration.kt - 12 + TypeParameterList.kt + 8 testProject light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - MultiVariableDeclaration.kt - 14 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 61 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 17 - 1 - - - MultiVariableDeclaration.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 21 - 1 - - - MultiVariableDeclaration.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - MultiVariableDeclaration.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - MultiVariableDeclaration.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 4 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 22 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - LambdaParameterList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 38 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 14 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 139 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break x @@ -1908,62 +1824,14 @@ 1 - LambdaParameterList.kt - 168 + TypeParameterList.kt + 9 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - + > 8 1 @@ -2147,6 +2015,18 @@ 5 1 + + TypeParameterList.kt + 104 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 5 + 1 + TypeParameterList.kt 110 @@ -2327,6 +2207,42 @@ 6 1 + + TypeParameterList.kt + 192 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 9 + 1 + + + TypeParameterList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + TypeParameterList.kt 213 @@ -2387,6 +2303,18 @@ 8 1 + + TypeParameterList.kt + 235 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + TypeParameterList.kt 240 @@ -2484,531 +2412,75 @@ 1 - TypeArgumentList.kt - 3 + WhenEntry.kt + 15 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - t - 22 + - + 44 1 - TypeArgumentList.kt - 2 + WhenEntry.kt + 21 testProject light_idea_test_case - + Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma + Comma loses the advantages in this position , - 19 + 43 1 - TypeArgumentList.kt + WhenEntry.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 45 + 1 + + + WhenEntry.kt 38 testProject light_idea_test_case - + Trailing comma recommendations Useless trailing comma , - 56 + 9 1 - TypeArgumentList.kt - 41 + WhenEntry.kt + 54 testProject light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - TypeArgumentList.kt - 40 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 15 1 - TypeArgumentList.kt - 41 + WhenEntry.kt + 62 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - > - 13 - 1 - - - TypeArgumentList.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 45 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - TypeArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 6 - 1 - - - TypeArgumentList.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 23 - 1 - - - TypeArgumentList.kt - 99 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 34 - 1 - - - TypeArgumentList.kt - 102 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 109 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 31 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 39 - 1 - - - IndicesAccess.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 35 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 49 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 33 - 1 - - - IndicesAccess.kt - 72 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - IndicesAccess.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - IndicesAccess.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 107 - 1 - - - IndicesAccess.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - IndicesAccess.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 151 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 154 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 156 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 158 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 163 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 + - + 15 1 \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyle/inspectionData/expected.xml b/idea/testData/inspections/trailingCommaOnWithCodeStyle/inspectionData/expected.xml index a861d1d2a6e..847d066f7d4 100644 --- a/idea/testData/inspections/trailingCommaOnWithCodeStyle/inspectionData/expected.xml +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyle/inspectionData/expected.xml @@ -1,1408 +1,4 @@ - - ArgumentList.kt - 2 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 19 - 1 - - - ArgumentList.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 18 - 1 - - - ArgumentList.kt - 6 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 42 - 1 - - - ArgumentList.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - ArgumentList.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 13 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 10 - 1 - - - ArgumentList.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - ArgumentList.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - ArgumentList.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - ArgumentList.kt - 23 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - ArgumentList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - ArgumentList.kt - 32 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 38 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 42 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 42 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 46 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 50 - 1 - - - ArgumentList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 43 - 1 - - - ArgumentList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 42 - 1 - - - ArgumentList.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - ArgumentList.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 41 - 1 - - - ArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 33 - 1 - - - ArgumentList.kt - 82 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 86 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 86 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - ArgumentList.kt - 92 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 92 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 47 - 1 - - - ArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 40 - 1 - - - ArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 39 - 1 - - - ArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 110 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 116 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - ArgumentList.kt - 118 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 118 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 89 - 1 - - - ArgumentList.kt - 126 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 82 - 1 - - - ArgumentList.kt - 126 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 81 - 1 - - - ArgumentList.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - ArgumentList.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 16 - 1 - - - ArgumentList.kt - 134 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - ArgumentList.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 19 - 1 - - - ArgumentList.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 18 - 1 - - - ArgumentList.kt - 140 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 141 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 140 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - ArgumentList.kt - 143 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 143 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - ArgumentList.kt - 146 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 149 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 10 - 1 - - - ArgumentList.kt - 152 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 152 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - ArgumentList.kt - 155 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - ArgumentList.kt - 156 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - ArgumentList.kt - 159 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 162 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 162 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 18 - 1 - - - ArgumentList.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - ArgumentList.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - ArgumentList.kt - 169 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - ArgumentList.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 177 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 179 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - ArgumentList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 13 - 1 - - - ArgumentList.kt - 184 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 187 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 12 - 1 - - - ArgumentList.kt - 187 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 11 - 1 - - - ArgumentList.kt - 189 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - ArgumentList.kt - 193 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 5 - 1 - - - ArgumentList.kt - 193 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - ArgumentList.kt - 195 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 195 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 50 - 1 - - - ArgumentList.kt - 198 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 199 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 201 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 202 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 204 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 205 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 33 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 207 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 15 - 1 - - - ArgumentList.kt - 210 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - t - 30 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 16 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ) - 15 - 1 - - - ArgumentList.kt - 210 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 25 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 24 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 213 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 221 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - - - ArgumentList.kt - 223 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - DestructionDeclarationsInLambda.kt 1 @@ -1908,135 +504,411 @@ 1 - WhenEntry.kt - 15 + LambdaParameterList.kt + 12 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - - 44 + x + 9 1 - WhenEntry.kt - 15 + LambdaParameterList.kt + 13 testProject light_idea_test_case - + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 13 + testProject + light_idea_test_case + Trailing comma recommendations Missing trailing comma - s + g + 7 + 1 + + + LambdaParameterList.kt + 19 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 38 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 14 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 127 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + LambdaParameterList.kt + 139 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 9 + 1 + + + LambdaParameterList.kt + 146 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g 20 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 160 testProject light_idea_test_case - + Trailing comma recommendations Comma loses the advantages in this position , - 43 - 1 - - - WhenEntry.kt - 21 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 45 - 1 - - - WhenEntry.kt - 38 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , 9 1 - WhenEntry.kt - 45 + LambdaParameterList.kt + 160 testProject light_idea_test_case - + Trailing comma recommendations Missing trailing comma - 1 - 8 + g + 25 1 - WhenEntry.kt - 54 + LambdaParameterList.kt + 168 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 15 + 17 1 - WhenEntry.kt - 54 + LambdaParameterList.kt + 175 testProject light_idea_test_case - + Trailing comma recommendations - Missing trailing comma - 3 - 8 + Comma loses the advantages in this position + , + 4 1 - WhenEntry.kt - 62 + LambdaParameterList.kt + 175 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 15 - 1 - - - WhenEntry.kt - 62 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 3 8 1 - WhenEntry.kt - 69 + LambdaParameterList.kt + 182 testProject light_idea_test_case - + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 187 + testProject + light_idea_test_case + Trailing comma recommendations Missing trailing comma - l - 16 + g + 34 1 @@ -2292,41 +1164,437 @@ 1 - Enum.kt - 24 + MultiVariableDeclaration.kt + 12 testProject light_idea_test_case - + Trailing comma recommendations - Missing trailing comma - 1 - 8 + Useless trailing comma + , + 13 1 - Enum.kt + MultiVariableDeclaration.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 9 + 1 + + + MultiVariableDeclaration.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt 30 testProject light_idea_test_case - + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + Trailing comma recommendations Missing trailing comma - 1 + b + 12 + 1 + + + MultiVariableDeclaration.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b 8 1 - Enum.kt - 36 + MultiVariableDeclaration.kt + 37 testProject light_idea_test_case - + Trailing comma recommendations Missing trailing comma - 1 + b + 11 + 1 + + + MultiVariableDeclaration.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 17 + 1 + + + MultiVariableDeclaration.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 21 + 1 + + + MultiVariableDeclaration.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + MultiVariableDeclaration.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) 8 1 + + MultiVariableDeclaration.kt + 83 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 11 + 1 + + + MultiVariableDeclaration.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 91 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + MultiVariableDeclaration.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + ParameterList.kt 20 @@ -3215,2094 +2483,6 @@ 46 1 - - MultiVariableDeclaration.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - MultiVariableDeclaration.kt - 14 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 21 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 21 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 9 - 1 - - - MultiVariableDeclaration.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 12 - 1 - - - MultiVariableDeclaration.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - MultiVariableDeclaration.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 8 - 1 - - - MultiVariableDeclaration.kt - 37 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 11 - 1 - - - MultiVariableDeclaration.kt - 44 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 45 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - f - 11 - 1 - - - MultiVariableDeclaration.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 61 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 17 - 1 - - - MultiVariableDeclaration.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 21 - 1 - - - MultiVariableDeclaration.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - MultiVariableDeclaration.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 12 - 1 - - - MultiVariableDeclaration.kt - 73 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 73 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 12 - 1 - - - MultiVariableDeclaration.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 16 - 1 - - - MultiVariableDeclaration.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 17 - 1 - - - MultiVariableDeclaration.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 16 - 1 - - - MultiVariableDeclaration.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - MultiVariableDeclaration.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - b - 11 - 1 - - - MultiVariableDeclaration.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - f - 11 - 1 - - - MultiVariableDeclaration.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - MultiVariableDeclaration.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 4 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 7 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 7 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 7 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 8 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 8 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 11 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 12 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 1 - 10 - 1 - - - CollectionLiteralInAnnotation.kt - 15 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 12 - 1 - - - CollectionLiteralInAnnotation.kt - 22 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 10 - 1 - - - CollectionLiteralInAnnotation.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 29 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 17 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 15 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 15 - 1 - - - CollectionLiteralInAnnotation.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - " - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 44 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 44 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 20 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 18 - 1 - - - CollectionLiteralInAnnotation.kt - 51 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 21 - 1 - - - CollectionLiteralInAnnotation.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 20 - 1 - - - CollectionLiteralInAnnotation.kt - 55 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 55 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 55 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 10 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 1 - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 76 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 10 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 79 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 88 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 89 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 88 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - " - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 103 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 102 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - 2 - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 101 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - [ - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 103 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 103 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 109 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - s - 26 - 1 - - - LambdaParameterList.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - x - 9 - 1 - - - LambdaParameterList.kt - 13 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 13 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 7 - 1 - - - LambdaParameterList.kt - 19 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 12 - 1 - - - LambdaParameterList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 38 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 12 - 1 - - - LambdaParameterList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 14 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 12 - 1 - - - LambdaParameterList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 12 - 1 - - - LambdaParameterList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 127 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 34 - 1 - - - LambdaParameterList.kt - 139 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - x - 9 - 1 - - - LambdaParameterList.kt - 146 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - t - 9 - 1 - - - LambdaParameterList.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 20 - 1 - - - LambdaParameterList.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 9 - 1 - - - LambdaParameterList.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 25 - 1 - - - LambdaParameterList.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 182 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 187 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - g - 34 - 1 - TypeParameterList.kt 8 @@ -6144,1875 +3324,135 @@ 1 - TypeArgumentList.kt - 3 + WhenEntry.kt + 15 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - t - 22 + - + 44 1 - TypeArgumentList.kt - 2 + WhenEntry.kt + 15 testProject light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 10 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 11 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 24 - 1 - - - TypeArgumentList.kt - 11 - testProject - light_idea_test_case - + Trailing comma recommendations Missing trailing comma - r - 23 + s + 20 1 - TypeArgumentList.kt - 14 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 42 - 1 - - - TypeArgumentList.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - TypeArgumentList.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt + WhenEntry.kt 21 testProject light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 15 - 1 - - - TypeArgumentList.kt - 24 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 24 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - TypeArgumentList.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 14 - 1 - - - TypeArgumentList.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - TypeArgumentList.kt - 31 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - TypeArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 38 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - + Trailing comma recommendations Comma loses the advantages in this position , - 12 - 1 - - - TypeArgumentList.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 13 - 1 - - - TypeArgumentList.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 45 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - TypeArgumentList.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - TypeArgumentList.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 16 - 1 - - - TypeArgumentList.kt - 53 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - TypeArgumentList.kt - 57 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 17 - 1 - - - TypeArgumentList.kt - 57 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 16 - 1 - - - TypeArgumentList.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 6 - 1 - - - TypeArgumentList.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - TypeArgumentList.kt - 62 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 62 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - TypeArgumentList.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 15 - 1 - - - TypeArgumentList.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - TypeArgumentList.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - TypeArgumentList.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - TypeArgumentList.kt - 78 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - TypeArgumentList.kt - 80 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 18 - 1 - - - TypeArgumentList.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - TypeArgumentList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - TypeArgumentList.kt - 88 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - TypeArgumentList.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 93 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 94 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 6 - 1 - - - TypeArgumentList.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 23 - 1 - - - TypeArgumentList.kt - 99 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 34 - 1 - - - TypeArgumentList.kt - 102 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 107 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 107 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 14 - 1 - - - TypeArgumentList.kt - 107 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 13 - 1 - - - TypeArgumentList.kt - 109 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 12 - 1 - - - TypeArgumentList.kt - 112 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 11 - 1 - - - IndicesAccess.kt - 2 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 24 - 1 - - - IndicesAccess.kt - 3 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 23 - 1 - - - IndicesAccess.kt - 6 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 42 - 1 - - - IndicesAccess.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 9 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - IndicesAccess.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 13 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 15 - 1 - - - IndicesAccess.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 16 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - IndicesAccess.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 14 - 1 - - - IndicesAccess.kt - 20 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - IndicesAccess.kt - 23 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - IndicesAccess.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 31 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 39 - 1 - - - IndicesAccess.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 35 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 39 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - IndicesAccess.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 49 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 33 - 1 - - - IndicesAccess.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 52 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 50 - 1 - - - IndicesAccess.kt - 60 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] 43 1 - IndicesAccess.kt - 60 + WhenEntry.kt + 21 testProject light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 42 - 1 - - - IndicesAccess.kt - 64 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break - " - 16 + - + 45 1 - IndicesAccess.kt - 68 + WhenEntry.kt + 38 testProject light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 17 - 1 - - - IndicesAccess.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 16 - 1 - - - IndicesAccess.kt - 72 - testProject - light_idea_test_case - + Trailing comma recommendations Useless trailing comma , - 42 + 9 1 - IndicesAccess.kt - 75 + WhenEntry.kt + 45 testProject light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - IndicesAccess.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - IndicesAccess.kt - 77 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 77 - testProject - light_idea_test_case - + Trailing comma recommendations Missing trailing comma - } - 41 - 1 - - - IndicesAccess.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 33 - 1 - - - IndicesAccess.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " - 16 - 1 - - - IndicesAccess.kt - 89 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 89 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - IndicesAccess.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 107 - 1 - - - IndicesAccess.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - IndicesAccess.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - IndicesAccess.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 89 - 1 - - - IndicesAccess.kt - 105 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 82 - 1 - - - IndicesAccess.kt - 105 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 81 - 1 - - - IndicesAccess.kt - 110 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - IndicesAccess.kt - 110 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 16 - 1 - - - IndicesAccess.kt - 113 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 13 - 1 - - - IndicesAccess.kt - 117 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 17 - 1 - - - IndicesAccess.kt - 117 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 16 - 1 - - - IndicesAccess.kt - 119 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 120 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - IndicesAccess.kt - 119 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - IndicesAccess.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 47 - 1 - - - IndicesAccess.kt - 125 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 128 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - r - 15 - 1 - - - IndicesAccess.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 131 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 18 - 1 - - - IndicesAccess.kt - 134 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - IndicesAccess.kt - 135 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - o - 13 - 1 - - - IndicesAccess.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 141 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , + 1 8 1 - IndicesAccess.kt - 140 + WhenEntry.kt + 54 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 15 1 - IndicesAccess.kt - 141 + WhenEntry.kt + 54 testProject light_idea_test_case - + Trailing comma recommendations Missing trailing comma - r - 18 + 3 + 8 1 - IndicesAccess.kt - 144 + WhenEntry.kt + 62 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 15 1 - IndicesAccess.kt - 144 + WhenEntry.kt + 62 testProject light_idea_test_case - + Trailing comma recommendations Missing trailing comma - o - 18 + 3 + 8 1 - IndicesAccess.kt - 147 + WhenEntry.kt + 69 testProject light_idea_test_case - - Trailing comma recommendations - Missing line break - - 13 - 1 - - - IndicesAccess.kt - 148 - testProject - light_idea_test_case - + Trailing comma recommendations Missing trailing comma - o - 13 - 1 - - - IndicesAccess.kt - 151 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 154 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 156 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 158 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 7 - 1 - - - IndicesAccess.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 14 - 1 - - - IndicesAccess.kt - 161 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 13 - 1 - - - IndicesAccess.kt - 163 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 166 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 12 - 1 - - - IndicesAccess.kt - 166 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - a - 11 - 1 - - - IndicesAccess.kt - 168 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - " + l 16 1 - - IndicesAccess.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 5 - 1 - - - IndicesAccess.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 4 - 1 - - - IndicesAccess.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - IndicesAccess.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing trailing comma - } - 50 - 1 - \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ArgumentList.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ArgumentList.kt new file mode 100644 index 00000000000..da169db0254 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ArgumentList.kt @@ -0,0 +1,225 @@ +fun foo() { + testtest(foofoo, foofoo, foofoo, + foofoo, bar) + + testtest( + foofoo, foofoo, foofoo, foofoo, bar + ) + + testtest(foofoo, foofoo, foofoo, foofoo, bar + ) + + testtest(foofoo, foofoo, foofoo, foofoo, + bar + ) + + testtest(foofoo + ) + + testtest( + foofoo) + + testtest( + foofoo + ) + + testtest(foofoo,) + + testtest(foofoo, testtest(testtest(foofoo))) + + testtest(foofoo, fososos, testtest(testtest(foofoo)),) + + testtest(foofoo, testtest(testtest(foofoo,)), testsa) + + testtest(foofoo, seee, testtest(testtest(foofoo,)), testsa) + + useCallable("A", Callable { println("Hello world") }) + + useCallable("B", "C", Callable { + println("Hello world") + }, Callable { + println("Hello world") + }) + + useCallable(Callable { println("Hello world") }) + + useCallable(Callable { println("Hello world") },) + + useCallable(Callable { println("Hello world") } + ) + + useCallable(Callable { println("Hello world") }){ + + } + + useCallable( + Callable { println("Hello world") }) + + useCallable("A", { println("Hello world") }) + + useCallable("B", "C", { + println("Hello world") + }, { + println("Hello world") + }) + + useCallable({ println("Hello world") }) + + useCallable({ println("Hello world") },) + + useCallable({ println("Hello world") } + ) + + useCallable({ println("Hello world") }){ + + } + + useCallable( + { println("Hello world") }) + + useCallable("A", foo() { println("Hello world") }) + + useCallable("B", "C", foo() { + println("Hello world") + }, foo() { + println("Hello world") + }) + + useCallable(foo() { println("Hello world") }) + + useCallable(foo() { println("Hello world") },) + + useCallable(foo() { println("Hello world") } + ) + + useCallable(foo() { println("Hello world") }) { + + } + + useCallable( + foo() { println("Hello world") }) + + useCallable("A", object : Callable { override fun call() { println("Hello world") } }) + + useCallable("A", object : Callable { + override fun call() { + println("Hello world") + } + }) + + useCallable("B", "C", object : Callable { override fun call() { println("Hello world") } }, foo() { + println("Hello world") + }) + + useCallable(object : Callable { override fun call() { println("Hello world") } }) + + useCallable(object : Callable { override fun call() { println("Hello world") } },) + + useCallable(object : Callable { override fun call() { println("Hello world") } } + ) + + useCallable(object : Callable { override fun call() { println("Hello world") } }) { + + } + + useCallable( + object : Callable { override fun call() { println("Hello world") } }) + + testtest( + foofoo, foofoo, foofoo, foofoo, + bar /* + */, /* */ foo + ) + + testtest(/* + */foofoo, foofoo, foofoo, /* + + */ + foofoo, bar) + + testtest(foofoo, foofoo, foofoo, foofoo, bar/* + */) + + testtest(foofoo, foofoo, foofoo, foofoo, bar // awdawda + ) + + testtest(foofoo, foofoo, foofoo, foofoo, /* + + */ + bar + ) + + testtest(foofoo // fd + ) + + testtest( /**/ + foofoo + ) + + testtest(foofoo,/**/) + + testtest(foofoo, foofoo, foofoo, foofoo/* + */ , /* */ bar + ) + + testtest(foofoo // fd + ) + + testtest( /**/ + foofoo + ) + + testtest(foofoo,/**/) + + testtest(foofoo, fososos,/* + */ testtest(testtest(foofoo)),) + + testtest(foofoo, testtest(testtest(foofoo,)), /**/testsa) + + testtest(foofoo, testtest(testtest(foofoo,))/* */ , /**/testsa) + + testtest(foofoo, testtest(testtest(foofoo,))/* + */ ,testsa) + + testtest(foofoo, seee, testtest(testtest(foofoo,)), /**/testsa) + + testtest(foofoo, seee, testtest(testtest(foofoo,)), /* + */testsa) + + useCallable("B", "C", Callable { + println("Hello world") + }, /* */ Callable { + println("Hello world") + }) + + useCallable(Callable { println("Hello world") } // ffd + ) + + useCallable(object : Callable { override fun call() { println("Hello world") } + },) + + useCallable(foo() { println("Hello world") + },) + + useCallable({ + println("Hello world") },) + + useCallable(Callable { println("Hello world") } + ,) + + testtest(foofoo, testtest(testtest( + foofoo,)), testsa) + + testtest(foofoo, fososos, testtest(testtest(foofoo)) + ,) + +} + +fun test() { + baz( + f = fun(it: Int): String = "$it" /*dwdwd + */, + name = "" /* + */, + ) +} diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/CollectionLiteralInAnnotation.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/CollectionLiteralInAnnotation.kt new file mode 100644 index 00000000000..02657111dc4 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/CollectionLiteralInAnnotation.kt @@ -0,0 +1,112 @@ +@Anno([1]) +fun a() = Unit + +@Anno([1,]) +fun a() = Unit + +@Anno([1 + ]) +fun a() = Unit + +@Anno([ + 1, ]) +fun a() = Unit + +@Anno([ + 1 ]) +fun a() = Unit + +@Anno([1,2]) +fun a() = Unit + +@Anno([1, 2,]) +fun a() = Unit + +@Anno([1, 2 + ]) +fun a() = Unit + +@Anno([ + 1, 2, ]) +fun a() = Unit + +@Anno([ + 1, 2 ]) +fun a() = Unit + +@Anno([1, 2, 2]) +fun a() = Unit + +@Anno([1, 2, 2,]) +fun a() = Unit + +@Anno(["1" + ]) +fun a() = Unit + +@Anno([ + 1, ]) +fun a() = Unit + +@Anno([ + 1 , 2 , 2 ]) +fun a() = Unit + +@Anno([1/* + */]) +fun a() = Unit + +@Anno([1, //dw + ]) +fun a() = Unit + +@Anno([1 // ds + ]) +fun a() = Unit + +@Anno([/* + */ // d + 1/* + */,/* + */ ]) +fun a() = Unit + +@Anno([ + /* + */ 1 ]) +fun a() = Unit + +@Anno([1/* + */,2]) +fun a() = Unit + +@Anno([1, 2/* + */,/* + */]) +fun a() = Unit + +@Anno([/* + */1, 2 + ]) +fun a() = Unit + +@Anno(["1" + ]) +fun a() = Unit + +@Anno([ + 1, ]) +fun a() = Unit + +@Anno([ + 1 , 2 /* + */ ]) +fun a() = Unit + +@Component( + modules = [ + AppModule::class, DataModule::class, + DomainModule::class + ], +) +fun b() = Unit \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/DestructionDeclarationsInLambda.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/DestructionDeclarationsInLambda.kt new file mode 100644 index 00000000000..21170b923ee --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/DestructionDeclarationsInLambda.kt @@ -0,0 +1,64 @@ +val x: (Pair, Int) -> Unit = { (x, y,), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, y), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, + y), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { ( + x, + y), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { ( + x // adw + ,y,), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x /* val x: (Pair, Int) -> Unit = { (x, y), z, -> + println(x) +}*/,), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, y), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, y/**/), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, y/* +*/), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (/**/x /**/ /* +*/, // awdawd + y/* +*/), z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { + (/**/x /**/ /* +*/, // awdawd + y/* +*/), + z, -> + println(x) +} + +val x: (Pair, Int) -> Unit = { (x, y,), + z, -> + println(x) +} \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/Enum.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/Enum.kt new file mode 100644 index 00000000000..207fda00b4b --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/Enum.kt @@ -0,0 +1,38 @@ +enum class Enum1 { + A, B,; +} + +enum class Enum2 { + A, B; +} + +enum class Enum3 { + A, B + ; +} + +enum class Enum4 { + A, B, +} + +enum class Enum5 { + A, B, +} + +enum class Enum6(val a: Int) { + A( + 1 + ), B, +} + +enum class Enum7(val a: Int) { + A( + 1 + ), B,; +} + +enum class Enum8(val a: Int) { + A( + 1 + ), B; +} \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/IndicesAccess.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/IndicesAccess.kt new file mode 100644 index 00000000000..19e5ab15d5d --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/IndicesAccess.kt @@ -0,0 +1,176 @@ +fun foo() { + testtest[foofoo, foofoo, foofoo, + foofoo, bar] + + testtest[ + foofoo, foofoo, foofoo, foofoo, bar + ] + + testtest[foofoo, foofoo, foofoo, foofoo, bar + ] + + testtest[foofoo, foofoo, foofoo, foofoo, + bar + ] + + testtest[foofoo + ] + + testtest[ + foofoo] + + testtest[ + foofoo + ] + + testtest[foofoo,] + + testtest[foofoo, testtest[testtest[foofoo]]] + + testtest[foofoo, fososos, + testtest[testtest[foofoo]],] + + testtest[foofoo, testtest[testtest[foofoo,]], testsa] + + testtest[foofoo, seee, testtest[testtest[foofoo,]], testsa] + + useCallable["A", Callable { println["Hello world"] }] + + useCallable["B", "C", Callable { + println["Hello world"] + }, Callable { + println["Hello world"] + }] + + useCallable[Callable { println["Hello world"] }] + + useCallable[Callable { println["Hello world"] },] + + useCallable[Callable { + println["Hello world"] },] + + useCallable[Callable { println["Hello world"] } + ] + + useCallable[Callable { println["Hello world"] }]{ + + } + + useCallable[ + Callable { println["Hello world"] }] + + useCallable["A", { println["Hello world"] }] + + useCallable["B", "C", { + println["Hello world"] + }, { + println["Hello world"] + }] + + useCallable[{ println["Hello world"] }] + + useCallable[{ println["Hello world"] },] + + useCallable[{ println["Hello world"] } + ,] + + useCallable[{ println["Hello world"] } + ] + + useCallable[ + { println["Hello world"] }] + + useCallable["A", object : Callable { override fun call() { println["Hello world"] } }] + + useCallable["A", object : Callable { + override fun call() { + println["Hello world"] + } + }] + + useCallable["B", "C", object : Callable { override fun call() { println["Hello world"] } }, foo[0,]] + + useCallable[object : Callable { override fun call() { println["Hello world"] } }] + + useCallable[object : Callable { override fun call() { println["Hello world"] } },] + + useCallable[object : Callable { override fun call() { println["Hello world"] } } + ] + + useCallable[object : Callable { override fun call() { println["Hello world"] } }] { + + } + + useCallable[ + object : Callable { override fun call() { println["Hello world"] } }] + + testtest[ + foofoo, foofoo, foofoo, foofoo, + bar /* + */, /* */ foo + ] + + testtest[/* + */foofoo, foofoo, foofoo, /* + + */ + foofoo, bar] + + testtest[foofoo, foofoo, foofoo, foofoo, bar/* + */] + + testtest[foofoo, foofoo, foofoo, foofoo, bar // awdawda + ] + + testtest[foofoo, foofoo, foofoo, foofoo, /* + + */ + bar + ] + + testtest[foofoo // fd + ] + + testtest[ /**/ + foofoo + ] + + testtest[foofoo,/**/] + + testtest[foofoo, foofoo, foofoo, foofoo/* + */ , /* */ bar + ] + + testtest[foofoo // fd + ] + + testtest[ /**/ + foofoo + ] + + testtest[foofoo,/**/] + + testtest[foofoo, fososos,/* + */ testtest[testtest[foofoo]],] + + testtest[foofoo, testtest[testtest[foofoo,]], /**/testsa] + + testtest[foofoo, testtest[testtest[foofoo,]]/* */ , /**/testsa] + + testtest[foofoo, testtest[testtest[foofoo,]]/* + */ ,testsa] + + testtest[foofoo, seee, testtest[testtest[foofoo,]], /**/testsa] + + testtest[foofoo, seee, testtest[testtest[foofoo,]], /* + */testsa] + + useCallable["B", "C", Callable { + println["Hello world"] + }, /* */ Callable { + println["Hello world"] + }] + + useCallable[Callable { println["Hello world"] } // ffd + ] +} \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaParameterList.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaParameterList.kt new file mode 100644 index 00000000000..6ac3c373f33 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaParameterList.kt @@ -0,0 +1,190 @@ +val x = { + x: Comparable>, + y: String, +-> + println("1") + } + +val x = {x: Comparable>, y: String-> + println("1") + } + +val x = {x: String, y +: String-> + println("1") + } + +val x = { + x: String, + y: String +-> + println("1") + } + +val x = { + x: String, + y: Comparable>,-> + println("1") + } + +val x = { + x: Comparable>, + y: String + ,-> + println("1") + } + +val x = { + x: String, + y: Comparable>, + z: String, +-> + println("1") + } + +val x = { + x: String, + y: String, + z: String +-> + println("1") + } + +val x = { + x: String, + y: String, + z: String,-> + println("1") + } + +val x = { + x: String, + y: String, + z: String + ,-> + println("1") + } + +val x = { + x: String, +-> + println("1") + } + +val x = { + x: String +-> + println("1") + } + +val x = { + x: String,-> + println("1") + } + +val x = { + x: String + ,-> + println("1") + } + +val x = { + x: String , + y: String, +-> + println("1") + } + +val x = { + x: String, + z: String +-> + println("1") + } + +val x = { + x: String, + y: String, + z: String ,-> + println("1") + } + +val x = { + x: String, + z: String + , -> + println("1") + } + +val x = { + x, y: String, + z: String + , -> + println("1") + } + +val x = { + x: String, y: String, z: String +-> + println("1") + } + +val x = { + z: String, v: Comparable>, + +-> + println("1") + } + +val x = {x: String, + y: Comparable>, +-> + println("1") + } + +val x = { + x: Int +-> + println("1") + } + +val x = { + x: String, y: String + , /* */ z: String +-> + println("1") + } + +val x = { + x: String, y: String + /* */, /* */ z: String +-> + println("1") + }() + +val x = { + x: String, /* + */ y: String, + z: String ,-> + println("1") + } + +val x = { + x: String, y: String , z: String /* + */ + , -> + println("1") + } + +val x = { + x: Comparable>, y: String, + z: String + , -> + println("1") + } + +val x = { + x: String, y: String, z: String +-> + println("1") + } diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaValueParameters.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaValueParameters.kt new file mode 100644 index 00000000000..d034a157c85 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/LambdaValueParameters.kt @@ -0,0 +1,83 @@ +fun main() { + val x: ( + y: Comparable>, + z: Iterable> // trailing comma + ) -> Int = { + 10 + } + + val x: ( + y: Comparable>, + z: Iterable> + ) -> Int = { + 10 + } + + val x: (y: Comparable>, z: Iterable>) -> Int = { + 10 + } + + val x: (y: Comparable>, z: Iterable>,) -> Int = { + 10 + } + + val x: (y: Comparable>, z: Iterable>, + ) -> Int = { + 10 + } + + val x: (y: Comparable>) -> Int = { + 10 + } + + val x: (y: Comparable>,) -> Int = { + 10 + } + + val x: (y: Comparable> + ) -> Int = { + 10 + } + + val x: ( + y: Comparable>) -> Int = { + 10 + } + + val x: ( + y: Comparable>, // + z: Iterable> // /**/ + ) -> Int = { + 10 + } + + val x: (y: Comparable>, z: Iterable> + // wd + ) -> Int = { + 10 + } + + val x: (y: Comparable>/* + */, z: Iterable>, /* // + */) -> Int = { + 10 + } + + val x: (/**/y: Comparable>/**/) -> Int = { + 10 + } + + val x: (y: Comparable>/**/,) -> Int = { + 10 + } + + val x: (y: Comparable> + ) -> Int = { + 10 + } + + val x: ( /* + */y: Comparable>) -> Int = { + 10 + } +} diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/MultiVariableDeclaration.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/MultiVariableDeclaration.kt new file mode 100644 index 00000000000..48b97ed2bf0 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/MultiVariableDeclaration.kt @@ -0,0 +1,99 @@ +fun test() { + val (a, b) = 1 to 2 + + val (a, b) = 1 to + 2 + + val (a, b) = 1 + to + 2 + + + val (a, b,) = 1 to 2 + + val (a,) = + b + + val (a, + ) = + b + + val (a + ) = + b + + val (a,) = b + + val ( + a,) = b + + val (a, b + ) = 1 to 2 + + val (a, + b) = 1 to 2 + + val ( + a, b + ) = 1 to 2 + + val ( + a, b, + ) = 1 to 2 + + val (a, b, c, + d, f + ) = 1 to 2 + + val (a, b, c, + d, f, + ) = 1 to 2 + + val (a, b/**/) = 1 to 2 + + val (a, /**/b/**/) /**/=/**/ 1 to + 2 + + val (a,/**/ b) = 1 + to + 2 + + val (a, b/**/,) = 1 to 2 + + val (a/**/, b/**/,/**/) = 1 to 2 + + val (a/**/,/**/) = + b + + val (a,) = b + + val (a, b/**/ + ) = 1 to 2 + + val (a, b// awd + ) = 1 to 2 + + val (a,/**/ b /**/ // awd + ) = 1 to 2 + + val (a, // ad + /**/b) = 1 to 2 + + val ( + a, b // fe + /**/)/**/ = 1 to 2 + + val ( + a, b, // awd + ) = 1 to 2 + + val (a, b, c, + d, f // awd + /* + */) = 1 to 2 + + val (a, b, c, + d, f // awd + , + ) = 1 to 2 +} \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ParameterList.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ParameterList.kt new file mode 100644 index 00000000000..cb00f14928d --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/ParameterList.kt @@ -0,0 +1,458 @@ +class A1 { + val x: String + val y: String + + constructor( + x: String, + y: String, + ) { + this.x = x + this.y = y + } +} + +class B1 { + val x: String + val y: String + + constructor( + x: String, + y: String + ) { + this.x = x + this.y = y + } +} + +class C1 { + val x: String + val y: String + + constructor( + x: String, + y: String,) { + this.x = x + this.y = y + } +} + +class D1 { + val x: String + val y: String + + constructor( + x: String, + y: String + ,) { + this.x = x + this.y = y + } +} + +class A2 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, + z: String, + ) { + this.x = x + this.y = y + this.z = z + } +} + +class B2 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, + z: String + ) { + this.x = x + this.y = y + this.z = z + } +} + +class C2 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, + z: String,) { + this.x = x + this.y = y + this.z = z + } +} + +class D2 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, + z: String + ,) { + this.x = x + this.y = y + this.z = z + } +} + +class A3 { + val x: String + + constructor(x: String,) { + this.x = x + } +} + +class B3 { + val x: String + + constructor(x: String) { + this.x = x + } +} + +class C3 { + val x: String + + constructor( + x: String,) { + this.x = x + } +} + +class D3 { + val x: String + + constructor( + x: String + ,) { + this.x = x + } +} + +class E1 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, z: String,) { + this.x = x + this.y = y + this.z = z + } +} + +class E2 { + val x: String + val y: String + val z: String + + constructor( + x: String, + y: String, z: String) { + this.x = x + this.y = y + this.z = z + } +} +class A1( + val x: String, + y: String, +) + +class B1( + val x: String, + val y: String +) + +class C1( + val x: String, + val y: String,) + +class D1( + val x: String, + val y: String + ,) + +class A2( + val x: String, + val y: String, + val z: String, +) + +class B2( + val x: String, + val y: String, + val z: String +) + +class C2( + val x: String, + val y: String, + val z: String,) + +class D2( + val x: String, + val y: String, + val z: String + ,) + +class A3( + val x: String, +) + +class B3( + val x: String +) + +class C3( + val x: String,) + +class D3( + val x: String + ,) + +class A4( + val x: String , + val y: String, + val z: String , +) + +class B4( + val x: String, + val y: String, + val z: String +) + +class C4( + val x: String, + val y: String, + val z: String ,) + +class D4( + val x: String, + val y: String, + val z: String + , ) + +class E1( + val x: String, val y: String, + val z: String + , ) + +class E2( + val x: String, val y: String, val z: String +) + +class C( + z: String, val v: Int, val x: Int = + 42, val y: Int = + 42 +) + +val foo1: (Int, Int) -> Int = fun( + x, + y, +): Int = 42 + +val foo2: (Int, Int) -> Int = fun( + x, + y +): Int { + return x + y +} + +val foo3: (Int, Int) -> Int = fun( + x, y, +): Int { + return x + y +} + +val foo4: (Int) -> Int = fun( + x, +): Int = 42 + +val foo5: (Int) -> Int = fun( + x +): Int = 42 + +val foo6: (Int) -> Int = fun(x,): Int = 42 + +val foo7: (Int) -> Int = fun(x): Int = 42 + +val foo8: (Int, Int, Int) -> Int = fun (x, y: Int, z,): Int { + return x + y +} + +val foo9: (Int, Int, Int) -> Int = fun ( + x, + y: Int, + z, +): Int = 42 + +val foo10: (Int, Int, Int) -> Int = fun ( + x, + y: Int, + z: Int +): Int = 43 + +val foo10 = fun ( + x: Int, + y: Int, + z: Int +): Int = 43 + +val foo11 = fun ( + x: Int, + y: Int, + z: Int, +): Int = 43 + +val foo12 = fun ( + x: Int, y: Int, z: Int, +): Int = 43 + +val foo13 = fun (x: Int, y: Int, z: Int, +): Int = 43 + +val foo14 = fun (x: Int, y: Int, z: Int + ,): Int = 43 + +fun a1( + x: String, + y: String, +) = Unit + +fun b1( + x: String, + y: String +) = Unit + +fun c1( + x: String, + y: String,) = Unit + +fun d1( + x: String, + y: String + ,) = Unit + +fun a2( + x: String, + y: String, + z: String, +) = Unit + +fun b2( + x: String, + y: String, + z: String +) = Unit + +fun c2( + x: String, + y: String, + z: String,) = Unit + +fun d2( + x: String, + y: String, + z: String + ,) = Unit + +fun a3( + x: String, +) = Unit + +fun b3( + x: String +) = Unit + +fun c3( + x: String,) = Unit + +fun d3( + x: String + ,) = Unit + +fun a4( + x: String + , + y: String, + z: String , +) = Unit + +fun b4( + x: String, + y: String, + z: String +) = Unit + +fun c4(x: String, + y: String, + z: String ,) = Unit + +fun d4( + x: String, + y: String, + z: String + , ) = Unit + +fun foo( + x: Int = + 42 +) { +} + +class C( + val x: Int = + 42 +) + +class G( + val x: String, val y: String + = "", /* */ val z: String +) + +class G( + val x: String, val y: String + = "" /* */, /* */ val z: String +) + +class H( + val x: String, /* + */ val y: String, + val z: String ,) + +class J( + val x: String, val y: String , val z: String /* + */ + , ) + +class K( + val x: String, val y: String, + val z: String + , ) + +class L( + val x: String, val y: String, val z: String // adwd +) diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeArgumentList.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeArgumentList.kt new file mode 100644 index 00000000000..e46f5c1f3ac --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeArgumentList.kt @@ -0,0 +1,113 @@ +fun foo() { + testtest, + >, + testsa, + >() + + testtest() + + testtest< + foofoo, foofoo, foofoo, foofoo, bar + >() + + testtest() + + testtest() + + testtest() + + testtest< + foofoo>() + + testtest< + foofoo + >() + + testtest() + + testtest>>() + + testtest>,>() + + testtest> + ,>() + + testtest>, testsa>() + + testtest>, testsa>() + + testtest< + foofoo, foofoo, foofoo, foofoo, + bar /* + */, /* */ foo + >() + + testtest() + + testtest() + + testtest() + + testtest() + + testtest() + + testtest< /**/ + foofoo + >() + + testtest() + + testtest() + + testtest() + + testtest< /**/ + foofoo + >() + + testtest() + + testtest() + + testtest< + foofoo,/**/>() + + testtest>,>() + + testtest>, /**/testsa>() + + testtest>/* */ , /**/testsa>() + + testtest>/* + */ ,testsa>() + + testtest>, /**/testsa>() + + testtest>, /* + */testsa>() +} \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeParameterList.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeParameterList.kt new file mode 100644 index 00000000000..5e01f5ff057 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/TypeParameterList.kt @@ -0,0 +1,261 @@ +class A1< + x: String, + y: String, +> + +class F + +class F2 + +class B1< + x: String, + y: String +> + +class C1< + x: String, + y: String,> + +class D1< + x: String, + y: String + ,> + +class A2< + x: String, + y: String, + z: String, +> + +class B2< + x: String, + y: String, + z: String +> + +class C2< + x: String, + y: String, + z: String,> + +class D2< + x: String, + y: String, + z: String + ,> + +class A3< + x: String, +> + +class B3< + x: String +> + +class C3< + x: String,> + +class D3< + x: String + ,> + +class A4< + x: String , + y: String, + z , +> + +class B4< + x: String, + y, + z: String +> + +class C4< + x: String, + y: String, + z: String ,> + +class D4< + x: String, + y, + z: String + , > + +class E1< + x, y: String, + z: String + , > + +class E2< + x: String, y: String, z: String +> + +class C< + z: String, v + +> + +fun a1() = Unit + +fun b1() = Unit + +fun < + x: String, + y: String,> c1() = Unit + +fun < + x: String, + y: String + ,> d1() = Unit + +fun < + x: String, + y: String, + z: String, +> a2() = Unit + +fun < + x: String, + y: String, + z: String +> b2() = Unit + +fun < + x: String, + y: String, + z: String,> c2() = Unit + +fun < + x: String, + y: String, + z: String + ,> d2() = Unit + +fun < + x: String, +> a3() = Unit + +fun < + x: String +> b3() = Unit + +fun < + x: String,> c3() = Unit + +fun < + x: String + ,> d3() = Unit + +fun < + x: String + , + y: String, + z: String , +> a4() = Unit + +fun < + x: String, + y: String, + z: String +> b4() = Unit + +fun c4() = Unit + +fun < + x: String, + y: String, + z: String + , > d4() = Unit + +fun < + x +> foo() { +} + +fun ag() { + +} + +fun ag() { + +} + +fun < + T> ag() { + +} + +class C< + x: Int +> + +class G< + x: String, y: String + , /* */ z: String +> + +class G< + x: String, y: String + /* */, /* */ z: String +>() + +class H< + x: String, /* + */ y: String, + z: String ,> + +class J< + x: String, y: String , z: String /* + */ + , > + +class K< + x: String, y: String, + z: String + , > + +class L< + x: String, y: String, z: String +> + +class C< + x: Int // adad +> + +class G< + x: String, y: String + , /* */ z: String // adad +> + +class G< + x: String, y: String + /* */, /* */ z: String /**/, +>() + +class H< + x: String, /* + */ y: String, + z: String /* + */ ,> + +class J< + x: String, y: String , z: String /* + */ + , /**/ > + +class K< + x: String, y: String, + z: String // aw + , > + +class L< + x: String, y: String, z: String //awd +> diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/WhenEntry.kt b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/WhenEntry.kt new file mode 100644 index 00000000000..0e9819b8cf6 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/WhenEntry.kt @@ -0,0 +1,75 @@ +fun foo(x: Any) = when (x) { + Comparable::class, Iterable::class, String::class, // trailing comma + -> println(1) + else -> println(3) +} + +fun foo(x: Any) { + when (x) { + Comparable::class, Iterable::class, String::class /*// trailing comma*/ -> println(1) + else -> println(3) + } + + when (x) { + Comparable::class, Iterable::class, + String::class /*// trailing comma*/ -> println(1) + else -> println(3) + } + + when (x) { + Comparable::class, Iterable::class, + String::class /*// trailing comma*/, -> println(1) + else -> println(3) + } + + when (x) { + Comparable::class, Iterable::class, String::class /*// trailing comma*/ -> println(1) + else -> println(3) + } + + when (x) { + 1 -> { + + } + else -> println(3) + } + + when (x) { + 1, -> { + + } + else -> println(3) + } + + when (x) { + 1 + -> { + + } + else -> println(3) + } + + when (x) { + 1, 2, + 3 /**/ -> { + + } + else -> println(3) + } + + when (val c = x) { + 1, 2, + 3 /**/ -> { + + } + else -> println(3) + } + + when { + x in coll + -> { + + } + else -> println(3) + } +} diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/expected.xml b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/expected.xml new file mode 100644 index 00000000000..a861d1d2a6e --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/expected.xml @@ -0,0 +1,8018 @@ + + + ArgumentList.kt + 2 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 3 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 19 + 1 + + + ArgumentList.kt + 3 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 18 + 1 + + + ArgumentList.kt + 6 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 42 + 1 + + + ArgumentList.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + ArgumentList.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 13 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 10 + 1 + + + ArgumentList.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + ArgumentList.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + ArgumentList.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + ArgumentList.kt + 23 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + ArgumentList.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + ArgumentList.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 56 + 1 + + + ArgumentList.kt + 32 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + ArgumentList.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + ArgumentList.kt + 38 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 42 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 42 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + ArgumentList.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + ArgumentList.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 50 + 1 + + + ArgumentList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 43 + 1 + + + ArgumentList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 42 + 1 + + + ArgumentList.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 42 + 1 + + + ArgumentList.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + { + 16 + 1 + + + ArgumentList.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 41 + 1 + + + ArgumentList.kt + 78 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 34 + 1 + + + ArgumentList.kt + 78 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 33 + 1 + + + ArgumentList.kt + 82 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 86 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 86 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 48 + 1 + + + ArgumentList.kt + 92 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 16 + 1 + + + ArgumentList.kt + 92 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 47 + 1 + + + ArgumentList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 40 + 1 + + + ArgumentList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 39 + 1 + + + ArgumentList.kt + 104 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 110 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 112 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 112 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 116 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 90 + 1 + + + ArgumentList.kt + 118 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + o + 16 + 1 + + + ArgumentList.kt + 118 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 89 + 1 + + + ArgumentList.kt + 126 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 82 + 1 + + + ArgumentList.kt + 126 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 81 + 1 + + + ArgumentList.kt + 131 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + ArgumentList.kt + 131 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 16 + 1 + + + ArgumentList.kt + 134 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 13 + 1 + + + ArgumentList.kt + 138 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 19 + 1 + + + ArgumentList.kt + 138 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 18 + 1 + + + ArgumentList.kt + 140 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 141 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 6 + 1 + + + ArgumentList.kt + 140 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + ArgumentList.kt + 143 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 143 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + ArgumentList.kt + 146 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 149 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 10 + 1 + + + ArgumentList.kt + 152 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 152 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + ArgumentList.kt + 155 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + ArgumentList.kt + 156 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + ArgumentList.kt + 159 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + ArgumentList.kt + 162 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ArgumentList.kt + 161 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 162 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 18 + 1 + + + ArgumentList.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + ArgumentList.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + ArgumentList.kt + 169 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + ArgumentList.kt + 172 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + ArgumentList.kt + 174 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 34 + 1 + + + ArgumentList.kt + 177 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + ArgumentList.kt + 179 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + ArgumentList.kt + 181 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + ArgumentList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 7 + 1 + + + ArgumentList.kt + 181 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + ArgumentList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 13 + 1 + + + ArgumentList.kt + 184 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + ArgumentList.kt + 186 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + ArgumentList.kt + 186 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 187 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 12 + 1 + + + ArgumentList.kt + 187 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 11 + 1 + + + ArgumentList.kt + 189 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + ArgumentList.kt + 193 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ArgumentList.kt + 193 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + ArgumentList.kt + 195 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + ArgumentList.kt + 195 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 50 + 1 + + + ArgumentList.kt + 198 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + o + 16 + 1 + + + ArgumentList.kt + 199 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 6 + 1 + + + ArgumentList.kt + 201 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 16 + 1 + + + ArgumentList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 6 + 1 + + + ArgumentList.kt + 204 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + { + 16 + 1 + + + ArgumentList.kt + 205 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 33 + 1 + + + ArgumentList.kt + 208 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ArgumentList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + ArgumentList.kt + 208 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + ArgumentList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 15 + 1 + + + ArgumentList.kt + 210 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + t + 30 + 1 + + + ArgumentList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 16 + 1 + + + ArgumentList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ) + 15 + 1 + + + ArgumentList.kt + 210 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 25 + 1 + + + ArgumentList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 24 + 1 + + + ArgumentList.kt + 214 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ArgumentList.kt + 213 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + ArgumentList.kt + 214 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + ArgumentList.kt + 221 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 10 + 1 + + + ArgumentList.kt + 223 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 10 + 1 + + + DestructionDeclarationsInLambda.kt + 1 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 1 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + DestructionDeclarationsInLambda.kt + 5 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 50 + 1 + + + DestructionDeclarationsInLambda.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 52 + 1 + + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 52 + 1 + + + DestructionDeclarationsInLambda.kt + 22 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 22 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 48 + 1 + + + DestructionDeclarationsInLambda.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 22 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 54 + 1 + + + DestructionDeclarationsInLambda.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 3 + 1 + + + DestructionDeclarationsInLambda.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 4 + 1 + + + DestructionDeclarationsInLambda.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 10 + 1 + + + DestructionDeclarationsInLambda.kt + 32 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 50 + 1 + + + DestructionDeclarationsInLambda.kt + 36 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 54 + 1 + + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + DestructionDeclarationsInLambda.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 47 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + DestructionDeclarationsInLambda.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 9 + 1 + + + DestructionDeclarationsInLambda.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 55 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + + + DestructionDeclarationsInLambda.kt + 57 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 11 + 1 + + + DestructionDeclarationsInLambda.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 40 + 1 + + + DestructionDeclarationsInLambda.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 44 + 1 + + + WhenEntry.kt + 15 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 44 + 1 + + + WhenEntry.kt + 15 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + s + 20 + 1 + + + WhenEntry.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 43 + 1 + + + WhenEntry.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 45 + 1 + + + WhenEntry.kt + 38 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 9 + 1 + + + WhenEntry.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 8 + 1 + + + WhenEntry.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 15 + 1 + + + WhenEntry.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 3 + 8 + 1 + + + WhenEntry.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 15 + 1 + + + WhenEntry.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 3 + 8 + 1 + + + WhenEntry.kt + 69 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + l + 16 + 1 + + + LambdaValueParameters.kt + 4 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + + + LambdaValueParameters.kt + 11 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + + + LambdaValueParameters.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 76 + 1 + + + LambdaValueParameters.kt + 24 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + LambdaValueParameters.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 44 + 1 + + + LambdaValueParameters.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 41 + 1 + + + LambdaValueParameters.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 40 + 1 + + + LambdaValueParameters.kt + 49 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + + + LambdaValueParameters.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 75 + 1 + + + LambdaValueParameters.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + LambdaValueParameters.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 6 + 1 + + + LambdaValueParameters.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 49 + 1 + + + LambdaValueParameters.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 44 + 1 + + + LambdaValueParameters.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 12 + 1 + + + LambdaValueParameters.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 43 + 1 + + + LambdaValueParameters.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 42 + 1 + + + Enum.kt + 24 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 8 + 1 + + + Enum.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 8 + 1 + + + Enum.kt + 36 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 8 + 1 + + + ParameterList.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ParameterList.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + ParameterList.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 92 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + ParameterList.kt + 118 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 25 + 1 + + + ParameterList.kt + 135 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 145 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + ParameterList.kt + 145 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + ParameterList.kt + 157 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 29 + 1 + + + ParameterList.kt + 171 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 28 + 1 + + + ParameterList.kt + 171 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 27 + 1 + + + ParameterList.kt + 184 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 189 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 194 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 194 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 205 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 211 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 217 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 217 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 224 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 228 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 232 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 232 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 243 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + + + ParameterList.kt + 249 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 21 + 1 + + + ParameterList.kt + 255 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 255 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + ParameterList.kt + 260 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 260 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + ParameterList.kt + 263 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 46 + 1 + + + ParameterList.kt + 269 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 279 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 4 + 1 + + + ParameterList.kt + 295 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + x + 4 + 1 + + + ParameterList.kt + 298 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 30 + 1 + + + ParameterList.kt + 302 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 52 + 1 + + + ParameterList.kt + 315 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + ParameterList.kt + 321 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + ParameterList.kt + 334 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 17 + 1 + + + ParameterList.kt + 338 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 17 + 1 + + + ParameterList.kt + 337 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 17 + 1 + + + ParameterList.kt + 338 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 18 + 1 + + + ParameterList.kt + 347 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + ParameterList.kt + 352 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + ParameterList.kt + 357 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 357 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 368 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + ParameterList.kt + 374 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + ParameterList.kt + 380 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 380 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 387 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + ParameterList.kt + 391 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + ParameterList.kt + 395 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 395 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 5 + 1 + + + ParameterList.kt + 399 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 407 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + ParameterList.kt + 410 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 7 + 1 + + + ParameterList.kt + 412 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 20 + 1 + + + ParameterList.kt + 418 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 418 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + ParameterList.kt + 422 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 428 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 433 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 28 + 1 + + + ParameterList.kt + 438 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 14 + 1 + + + ParameterList.kt + 438 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + ParameterList.kt + 444 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 21 + 1 + + + ParameterList.kt + 449 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 449 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + ParameterList.kt + 454 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + ParameterList.kt + 454 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + ParameterList.kt + 457 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 46 + 1 + + + MultiVariableDeclaration.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + MultiVariableDeclaration.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 9 + 1 + + + MultiVariableDeclaration.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 8 + 1 + + + MultiVariableDeclaration.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 11 + 1 + + + MultiVariableDeclaration.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 17 + 1 + + + MultiVariableDeclaration.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 21 + 1 + + + MultiVariableDeclaration.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + MultiVariableDeclaration.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + MultiVariableDeclaration.kt + 83 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 11 + 1 + + + MultiVariableDeclaration.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 91 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + MultiVariableDeclaration.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + CollectionLiteralInAnnotation.kt + 4 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 7 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 7 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 7 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 8 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 8 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 11 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + CollectionLiteralInAnnotation.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 12 + 1 + + + CollectionLiteralInAnnotation.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 10 + 1 + + + CollectionLiteralInAnnotation.kt + 15 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 12 + 1 + + + CollectionLiteralInAnnotation.kt + 22 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 11 + 1 + + + CollectionLiteralInAnnotation.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 10 + 1 + + + CollectionLiteralInAnnotation.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 16 + 1 + + + CollectionLiteralInAnnotation.kt + 29 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + CollectionLiteralInAnnotation.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 16 + 1 + + + CollectionLiteralInAnnotation.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 15 + 1 + + + CollectionLiteralInAnnotation.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 16 + 1 + + + CollectionLiteralInAnnotation.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 15 + 1 + + + CollectionLiteralInAnnotation.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + CollectionLiteralInAnnotation.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + " + 9 + 1 + + + CollectionLiteralInAnnotation.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 47 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + CollectionLiteralInAnnotation.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 20 + 1 + + + CollectionLiteralInAnnotation.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 18 + 1 + + + CollectionLiteralInAnnotation.kt + 51 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 21 + 1 + + + CollectionLiteralInAnnotation.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 20 + 1 + + + CollectionLiteralInAnnotation.kt + 55 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 55 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 55 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 59 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 59 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 67 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 71 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 67 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 71 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 71 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 10 + 1 + + + CollectionLiteralInAnnotation.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 1 + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 11 + 1 + + + CollectionLiteralInAnnotation.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 10 + 1 + + + CollectionLiteralInAnnotation.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + CollectionLiteralInAnnotation.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 83 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + 1 + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 85 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 83 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 85 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 85 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 88 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 89 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + CollectionLiteralInAnnotation.kt + 88 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + " + 9 + 1 + + + CollectionLiteralInAnnotation.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 94 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 94 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 98 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 98 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 14 + 1 + + + CollectionLiteralInAnnotation.kt + 98 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 13 + 1 + + + CollectionLiteralInAnnotation.kt + 103 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 102 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 14 + 1 + + + CollectionLiteralInAnnotation.kt + 101 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + [ + 6 + 1 + + + CollectionLiteralInAnnotation.kt + 103 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + CollectionLiteralInAnnotation.kt + 103 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + ] + 7 + 1 + + + CollectionLiteralInAnnotation.kt + 109 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + s + 26 + 1 + + + LambdaParameterList.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 9 + 1 + + + LambdaParameterList.kt + 13 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 13 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 7 + 1 + + + LambdaParameterList.kt + 19 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 38 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 14 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 127 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + LambdaParameterList.kt + 139 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 9 + 1 + + + LambdaParameterList.kt + 146 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 25 + 1 + + + LambdaParameterList.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 187 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeParameterList.kt + 8 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 9 + 1 + + + TypeParameterList.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 7 + 1 + + + TypeParameterList.kt + 13 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 18 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 23 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 23 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 57 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 72 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 78 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 17 + 1 + + + TypeParameterList.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 89 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 89 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 92 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeParameterList.kt + 96 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + v + 15 + 1 + + + TypeParameterList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 5 + 1 + + + TypeParameterList.kt + 104 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 5 + 1 + + + TypeParameterList.kt + 105 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 110 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 126 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 132 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 138 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 138 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 145 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 149 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 5 + 1 + + + TypeParameterList.kt + 157 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + TypeParameterList.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 5 + 1 + + + TypeParameterList.kt + 170 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 20 + 1 + + + TypeParameterList.kt + 176 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 176 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 179 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + x + 4 + 1 + + + TypeParameterList.kt + 187 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 6 + 1 + + + TypeParameterList.kt + 192 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 9 + 1 + + + TypeParameterList.kt + 192 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + T + 8 + 1 + + + TypeParameterList.kt + 197 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + TypeParameterList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + + + TypeParameterList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + TypeParameterList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 25 + 1 + + + TypeParameterList.kt + 213 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 17 + 1 + + + TypeParameterList.kt + 218 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 218 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 223 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 223 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 226 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeParameterList.kt + 230 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + TypeParameterList.kt + 235 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 235 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + + + TypeParameterList.kt + 240 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + TypeParameterList.kt + 240 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 31 + 1 + + + TypeParameterList.kt + 247 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + TypeParameterList.kt + 247 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 9 + 1 + + + TypeParameterList.kt + 252 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 252 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 12 + 1 + + + TypeParameterList.kt + 257 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 257 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 8 + 1 + + + TypeParameterList.kt + 260 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeArgumentList.kt + 3 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + t + 22 + 1 + + + TypeArgumentList.kt + 2 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 11 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 24 + 1 + + + TypeArgumentList.kt + 11 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 23 + 1 + + + TypeArgumentList.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 42 + 1 + + + TypeArgumentList.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + TypeArgumentList.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 15 + 1 + + + TypeArgumentList.kt + 24 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 24 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + TypeArgumentList.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeArgumentList.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + TypeArgumentList.kt + 31 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + TypeArgumentList.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + TypeArgumentList.kt + 38 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 56 + 1 + + + TypeArgumentList.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + TypeArgumentList.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 13 + 1 + + + TypeArgumentList.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + TypeArgumentList.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 48 + 1 + + + TypeArgumentList.kt + 50 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + TypeArgumentList.kt + 50 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 16 + 1 + + + TypeArgumentList.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 13 + 1 + + + TypeArgumentList.kt + 57 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 17 + 1 + + + TypeArgumentList.kt + 57 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 16 + 1 + + + TypeArgumentList.kt + 59 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 6 + 1 + + + TypeArgumentList.kt + 59 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + TypeArgumentList.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 62 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + TypeArgumentList.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 15 + 1 + + + TypeArgumentList.kt + 71 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 71 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + TypeArgumentList.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + TypeArgumentList.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + TypeArgumentList.kt + 78 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + TypeArgumentList.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + TypeArgumentList.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 18 + 1 + + + TypeArgumentList.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + TypeArgumentList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + TypeArgumentList.kt + 88 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + TypeArgumentList.kt + 91 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + TypeArgumentList.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 94 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 6 + 1 + + + TypeArgumentList.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 23 + 1 + + + TypeArgumentList.kt + 99 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 34 + 1 + + + TypeArgumentList.kt + 102 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + TypeArgumentList.kt + 104 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + TypeArgumentList.kt + 106 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + TypeArgumentList.kt + 107 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 7 + 1 + + + TypeArgumentList.kt + 106 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 107 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 14 + 1 + + + TypeArgumentList.kt + 107 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 13 + 1 + + + TypeArgumentList.kt + 109 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + TypeArgumentList.kt + 111 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + TypeArgumentList.kt + 111 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + TypeArgumentList.kt + 112 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 12 + 1 + + + TypeArgumentList.kt + 112 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 11 + 1 + + + IndicesAccess.kt + 2 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 3 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 24 + 1 + + + IndicesAccess.kt + 3 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 23 + 1 + + + IndicesAccess.kt + 6 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 42 + 1 + + + IndicesAccess.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + IndicesAccess.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 13 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 15 + 1 + + + IndicesAccess.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + IndicesAccess.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 14 + 1 + + + IndicesAccess.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + IndicesAccess.kt + 23 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + IndicesAccess.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + IndicesAccess.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 31 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 39 + 1 + + + IndicesAccess.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + IndicesAccess.kt + 35 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + IndicesAccess.kt + 39 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + IndicesAccess.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 5 + 1 + + + IndicesAccess.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + IndicesAccess.kt + 47 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + IndicesAccess.kt + 49 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + IndicesAccess.kt + 50 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 33 + 1 + + + IndicesAccess.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + IndicesAccess.kt + 52 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 50 + 1 + + + IndicesAccess.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 43 + 1 + + + IndicesAccess.kt + 60 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 42 + 1 + + + IndicesAccess.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + IndicesAccess.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 17 + 1 + + + IndicesAccess.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 16 + 1 + + + IndicesAccess.kt + 72 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 42 + 1 + + + IndicesAccess.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + IndicesAccess.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + { + 16 + 1 + + + IndicesAccess.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 13 + 1 + + + IndicesAccess.kt + 77 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + { + 16 + 1 + + + IndicesAccess.kt + 77 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 41 + 1 + + + IndicesAccess.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 34 + 1 + + + IndicesAccess.kt + 81 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 33 + 1 + + + IndicesAccess.kt + 85 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + IndicesAccess.kt + 89 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 5 + 1 + + + IndicesAccess.kt + 89 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + IndicesAccess.kt + 91 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 107 + 1 + + + IndicesAccess.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 90 + 1 + + + IndicesAccess.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + o + 16 + 1 + + + IndicesAccess.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 89 + 1 + + + IndicesAccess.kt + 105 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 82 + 1 + + + IndicesAccess.kt + 105 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 81 + 1 + + + IndicesAccess.kt + 110 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 6 + 1 + + + IndicesAccess.kt + 110 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 16 + 1 + + + IndicesAccess.kt + 113 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 13 + 1 + + + IndicesAccess.kt + 117 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 17 + 1 + + + IndicesAccess.kt + 117 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 16 + 1 + + + IndicesAccess.kt + 119 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 120 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 6 + 1 + + + IndicesAccess.kt + 119 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + IndicesAccess.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 47 + 1 + + + IndicesAccess.kt + 125 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 128 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 15 + 1 + + + IndicesAccess.kt + 131 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 131 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + IndicesAccess.kt + 134 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + IndicesAccess.kt + 135 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + IndicesAccess.kt + 138 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + IndicesAccess.kt + 141 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 8 + 1 + + + IndicesAccess.kt + 140 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 141 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + r + 18 + 1 + + + IndicesAccess.kt + 144 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 144 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 18 + 1 + + + IndicesAccess.kt + 147 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 13 + 1 + + + IndicesAccess.kt + 148 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + o + 13 + 1 + + + IndicesAccess.kt + 151 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 19 + 1 + + + IndicesAccess.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 154 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 34 + 1 + + + IndicesAccess.kt + 156 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + IndicesAccess.kt + 158 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + IndicesAccess.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 45 + 1 + + + IndicesAccess.kt + 161 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 7 + 1 + + + IndicesAccess.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 161 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 14 + 1 + + + IndicesAccess.kt + 161 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 13 + 1 + + + IndicesAccess.kt + 163 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + IndicesAccess.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 51 + 1 + + + IndicesAccess.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + f + 13 + 1 + + + IndicesAccess.kt + 166 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 12 + 1 + + + IndicesAccess.kt + 166 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 11 + 1 + + + IndicesAccess.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + " + 16 + 1 + + + IndicesAccess.kt + 172 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ] + 5 + 1 + + + IndicesAccess.kt + 172 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 4 + 1 + + + IndicesAccess.kt + 174 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + C + 16 + 1 + + + IndicesAccess.kt + 174 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + } + 50 + 1 + + \ No newline at end of file diff --git a/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/inspections.test b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/inspections.test new file mode 100644 index 00000000000..b59d79e6528 --- /dev/null +++ b/idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/inspections.test @@ -0,0 +1,3 @@ +// INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.TrailingCommaInspection +// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas +// REGISTRY: kotlin.formatter.allowTrailingCommaOnCallSite true diff --git a/idea/testData/inspections/trailingCommaOnWithoutCodeStyle/inspectionData/expected.xml b/idea/testData/inspections/trailingCommaOnWithoutCodeStyle/inspectionData/expected.xml index 33b6007179d..847d066f7d4 100644 --- a/idea/testData/inspections/trailingCommaOnWithoutCodeStyle/inspectionData/expected.xml +++ b/idea/testData/inspections/trailingCommaOnWithoutCodeStyle/inspectionData/expected.xml @@ -1,388 +1,4 @@ - - ArgumentList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 56 - 1 - - - ArgumentList.kt - 32 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 34 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 46 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - ArgumentList.kt - 90 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 48 - 1 - - - ArgumentList.kt - 116 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - ArgumentList.kt - 159 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 172 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - ArgumentList.kt - 174 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 34 - 1 - - - ArgumentList.kt - 177 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 179 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 181 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - ArgumentList.kt - 184 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 186 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - ArgumentList.kt - 198 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - o - 16 - 1 - - - ArgumentList.kt - 199 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 201 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 16 - 1 - - - ArgumentList.kt - 202 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 6 - 1 - - - ArgumentList.kt - 204 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - ArgumentList.kt - 205 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 33 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 207 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C - 16 - 1 - - - ArgumentList.kt - 208 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 211 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 15 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 8 - 1 - - - ArgumentList.kt - 213 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - ArgumentList.kt - 214 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 9 - 1 - - - ArgumentList.kt - 221 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - - - ArgumentList.kt - 223 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 10 - 1 - DestructionDeclarationsInLambda.kt 1 @@ -419,6 +35,42 @@ 50 1 + + DestructionDeclarationsInLambda.kt + 9 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 10 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + DestructionDeclarationsInLambda.kt 9 @@ -443,6 +95,30 @@ 52 1 + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 46 + 1 + + + DestructionDeclarationsInLambda.kt + 16 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + DestructionDeclarationsInLambda.kt 14 @@ -599,6 +275,42 @@ 54 1 + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 41 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 40 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + DestructionDeclarationsInLambda.kt 40 @@ -623,6 +335,54 @@ 8 1 + + DestructionDeclarationsInLambda.kt + 46 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 42 + 1 + + + DestructionDeclarationsInLambda.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 47 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + DestructionDeclarationsInLambda.kt 45 @@ -647,6 +407,54 @@ 8 1 + + DestructionDeclarationsInLambda.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + / + 9 + 1 + + + DestructionDeclarationsInLambda.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 2 + 1 + + + DestructionDeclarationsInLambda.kt + 55 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 45 + 1 + DestructionDeclarationsInLambda.kt 57 @@ -696,41 +504,437 @@ 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 12 testProject light_idea_test_case - + Trailing comma recommendations - Comma loses the advantages in this position - , - 43 + Missing line break + x + 9 1 - WhenEntry.kt - 21 + LambdaParameterList.kt + 13 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - 45 + 8 1 - WhenEntry.kt - 38 + LambdaParameterList.kt + 13 testProject light_idea_test_case - + + Trailing comma recommendations + Missing trailing comma + g + 7 + 1 + + + LambdaParameterList.kt + 19 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 26 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 38 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 56 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 14 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 64 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 75 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 81 + testProject + light_idea_test_case + Trailing comma recommendations Useless trailing comma , + 13 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 87 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 5 + 1 + + + LambdaParameterList.kt + 100 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + + + LambdaParameterList.kt + 108 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 115 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 122 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 127 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + LambdaParameterList.kt + 139 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x 9 1 + + LambdaParameterList.kt + 146 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 153 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + LambdaParameterList.kt + 160 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 25 + 1 + + + LambdaParameterList.kt + 168 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 17 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 175 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + LambdaParameterList.kt + 182 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 8 + 1 + + + LambdaParameterList.kt + 187 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + LambdaValueParameters.kt + 4 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + + + LambdaValueParameters.kt + 11 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + LambdaValueParameters.kt 20 @@ -767,6 +971,90 @@ 45 1 + + LambdaValueParameters.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 44 + 1 + + + LambdaValueParameters.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 41 + 1 + + + LambdaValueParameters.kt + 43 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 40 + 1 + + + LambdaValueParameters.kt + 49 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 36 + 1 + + + LambdaValueParameters.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 54 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 75 + 1 + LambdaValueParameters.kt 61 @@ -815,6 +1103,510 @@ 49 1 + + LambdaValueParameters.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + y + 12 + 1 + + + LambdaValueParameters.kt + 74 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 44 + 1 + + + LambdaValueParameters.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + + 12 + 1 + + + LambdaValueParameters.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 43 + 1 + + + LambdaValueParameters.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + > + 42 + 1 + + + MultiVariableDeclaration.kt + 12 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 13 + 1 + + + MultiVariableDeclaration.kt + 14 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 17 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + a + 9 + 1 + + + MultiVariableDeclaration.kt + 25 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 28 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 30 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 33 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 9 + 1 + + + MultiVariableDeclaration.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 8 + 1 + + + MultiVariableDeclaration.kt + 37 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 11 + 1 + + + MultiVariableDeclaration.kt + 44 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 45 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 48 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 61 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 17 + 1 + + + MultiVariableDeclaration.kt + 63 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 21 + 1 + + + MultiVariableDeclaration.kt + 65 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 14 + 1 + + + MultiVariableDeclaration.kt + 68 + testProject + light_idea_test_case + + Trailing comma recommendations + Useless trailing comma + , + 10 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 70 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 73 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 12 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 79 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 17 + 1 + + + MultiVariableDeclaration.kt + 80 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 16 + 1 + + + MultiVariableDeclaration.kt + 84 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 8 + 1 + + + MultiVariableDeclaration.kt + 83 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + b + 11 + 1 + + + MultiVariableDeclaration.kt + 90 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + MultiVariableDeclaration.kt + 93 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 10 + 1 + + + MultiVariableDeclaration.kt + 91 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + f + 11 + 1 + + + MultiVariableDeclaration.kt + 97 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 12 + 1 + + + MultiVariableDeclaration.kt + 95 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + a + 9 + 1 + + + ParameterList.kt + 20 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 33 @@ -851,6 +1643,18 @@ 9 1 + + ParameterList.kt + 76 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 92 @@ -947,6 +1751,42 @@ 29 1 + + ParameterList.kt + 171 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + ) + 28 + 1 + + + ParameterList.kt + 171 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 27 + 1 + + + ParameterList.kt + 184 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 189 @@ -983,6 +1823,18 @@ 5 1 + + ParameterList.kt + 205 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 211 @@ -1019,6 +1871,18 @@ 5 1 + + ParameterList.kt + 224 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 228 @@ -1055,6 +1919,18 @@ 5 1 + + ParameterList.kt + 243 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 16 + 1 + ParameterList.kt 249 @@ -1115,6 +1991,54 @@ 8 1 + + ParameterList.kt + 263 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 46 + 1 + + + ParameterList.kt + 269 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 279 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + y + 4 + 1 + + + ParameterList.kt + 295 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + x + 4 + 1 + ParameterList.kt 298 @@ -1139,6 +2063,30 @@ 52 1 + + ParameterList.kt + 315 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + ParameterList.kt + 321 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + ParameterList.kt 334 @@ -1187,6 +2135,18 @@ 18 1 + + ParameterList.kt + 347 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + ParameterList.kt 352 @@ -1223,6 +2183,18 @@ 5 1 + + ParameterList.kt + 368 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + ParameterList.kt 374 @@ -1259,6 +2231,18 @@ 5 1 + + ParameterList.kt + 387 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + ParameterList.kt 391 @@ -1307,6 +2291,18 @@ 4 1 + + ParameterList.kt + 407 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + ParameterList.kt 410 @@ -1355,6 +2351,66 @@ 8 1 + + ParameterList.kt + 422 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 428 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + 2 + 9 + 1 + + + ParameterList.kt + 433 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 28 + 1 + + + ParameterList.kt + 438 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 14 + 1 + + + ParameterList.kt + 438 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + ParameterList.kt 444 @@ -1416,491 +2472,23 @@ 1 - MultiVariableDeclaration.kt - 12 + ParameterList.kt + 457 testProject light_idea_test_case - + Trailing comma recommendations - Useless trailing comma - , - 13 + Missing trailing comma + g + 46 1 - MultiVariableDeclaration.kt - 14 + TypeParameterList.kt + 8 testProject light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 17 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 25 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 28 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ) - 10 - 1 - - - MultiVariableDeclaration.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - MultiVariableDeclaration.kt - 61 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 17 - 1 - - - MultiVariableDeclaration.kt - 63 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 21 - 1 - - - MultiVariableDeclaration.kt - 65 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - MultiVariableDeclaration.kt - 68 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 10 - 1 - - - MultiVariableDeclaration.kt - 97 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - MultiVariableDeclaration.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - a - 9 - 1 - - - CollectionLiteralInAnnotation.kt - 4 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 8 - 1 - - - CollectionLiteralInAnnotation.kt - 12 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 22 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 11 - 1 - - - CollectionLiteralInAnnotation.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 16 - 1 - - - CollectionLiteralInAnnotation.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 14 - 1 - - - CollectionLiteralInAnnotation.kt - 48 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - CollectionLiteralInAnnotation.kt - 59 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 70 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 67 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - / - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 71 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 84 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 83 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - 1 - 7 - 1 - - - CollectionLiteralInAnnotation.kt - 85 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 6 - 1 - - - CollectionLiteralInAnnotation.kt - 98 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - LambdaParameterList.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 38 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 56 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 14 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 64 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 81 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 13 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 87 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 5 - 1 - - - LambdaParameterList.kt - 108 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 115 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 122 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - - 8 - 1 - - - LambdaParameterList.kt - 139 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break x @@ -1908,63 +2496,39 @@ 1 - LambdaParameterList.kt - 168 + TypeParameterList.kt + 9 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - - - 17 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 4 - 1 - - - LambdaParameterList.kt - 175 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - - + > 8 1 - LambdaParameterList.kt - 182 + TypeParameterList.kt + 9 testProject light_idea_test_case - + Trailing comma recommendations - Comma loses the advantages in this position - , - 4 + Missing trailing comma + g + 7 1 - LambdaParameterList.kt - 182 + TypeParameterList.kt + 13 testProject light_idea_test_case - + Trailing comma recommendations - Missing line break - - - 8 + Missing trailing comma + g + 12 1 @@ -2003,6 +2567,18 @@ 5 1 + + TypeParameterList.kt + 34 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 40 @@ -2039,6 +2615,18 @@ 5 1 + + TypeParameterList.kt + 53 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 57 @@ -2075,6 +2663,18 @@ 5 1 + + TypeParameterList.kt + 72 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 78 @@ -2135,6 +2735,30 @@ 8 1 + + TypeParameterList.kt + 92 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeParameterList.kt + 96 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + v + 15 + 1 + TypeParameterList.kt 100 @@ -2147,6 +2771,30 @@ 5 1 + + TypeParameterList.kt + 104 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + x + 5 + 1 + + + TypeParameterList.kt + 105 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 110 @@ -2183,6 +2831,18 @@ 5 1 + + TypeParameterList.kt + 126 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 132 @@ -2219,6 +2879,18 @@ 5 1 + + TypeParameterList.kt + 145 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 149 @@ -2267,6 +2939,18 @@ 4 1 + + TypeParameterList.kt + 165 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 12 + 1 + TypeParameterList.kt 168 @@ -2315,6 +2999,18 @@ 8 1 + + TypeParameterList.kt + 179 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + x + 4 + 1 + TypeParameterList.kt 187 @@ -2327,6 +3023,90 @@ 6 1 + + TypeParameterList.kt + 192 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + > + 9 + 1 + + + TypeParameterList.kt + 192 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + T + 8 + 1 + + + TypeParameterList.kt + 197 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + TypeParameterList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 202 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + + + TypeParameterList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 9 + 1 + + + TypeParameterList.kt + 207 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 25 + 1 + TypeParameterList.kt 213 @@ -2387,6 +3167,54 @@ 8 1 + + TypeParameterList.kt + 226 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 34 + 1 + + + TypeParameterList.kt + 230 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + t + 9 + 1 + + + TypeParameterList.kt + 235 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position + , + 4 + 1 + + + TypeParameterList.kt + 235 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing trailing comma + g + 20 + 1 + TypeParameterList.kt 240 @@ -2484,531 +3312,147 @@ 1 - TypeArgumentList.kt - 3 + TypeParameterList.kt + 260 testProject light_idea_test_case - + Trailing comma recommendations - Missing line break - t - 22 + Missing trailing comma + g + 34 1 - TypeArgumentList.kt - 2 + WhenEntry.kt + 15 testProject light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 44 1 - TypeArgumentList.kt - 34 + WhenEntry.kt + 15 testProject light_idea_test_case - + Trailing comma recommendations - Useless trailing comma + Missing trailing comma + s + 20 + 1 + + + WhenEntry.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Comma loses the advantages in this position , - 19 + 43 1 - TypeArgumentList.kt + WhenEntry.kt + 21 + testProject + light_idea_test_case + + Trailing comma recommendations + Missing line break + - + 45 + 1 + + + WhenEntry.kt 38 testProject light_idea_test_case - + Trailing comma recommendations Useless trailing comma , - 56 + 9 1 - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - TypeArgumentList.kt - 40 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 41 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 13 - 1 - - - TypeArgumentList.kt - 43 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt + WhenEntry.kt 45 testProject light_idea_test_case - + Trailing comma recommendations - Useless trailing comma - , - 48 + Missing trailing comma + 1 + 8 1 - TypeArgumentList.kt - 78 + WhenEntry.kt + 54 testProject light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - TypeArgumentList.kt - 93 - testProject - light_idea_test_case - + Trailing comma recommendations Missing line break - f - 13 + - + 15 1 - TypeArgumentList.kt - 94 + WhenEntry.kt + 54 testProject light_idea_test_case - + + Trailing comma recommendations + Missing trailing comma + 3 + 8 + 1 + + + WhenEntry.kt + 62 + testProject + light_idea_test_case + Trailing comma recommendations Missing line break - > - 6 + - + 15 1 - TypeArgumentList.kt - 97 + WhenEntry.kt + 62 testProject light_idea_test_case - + Trailing comma recommendations - Missing line break - > - 23 + Missing trailing comma + 3 + 8 1 - TypeArgumentList.kt - 99 + WhenEntry.kt + 69 testProject light_idea_test_case - + Trailing comma recommendations - Missing line break - f - 13 - 1 - - - TypeArgumentList.kt - 100 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - > - 34 - 1 - - - TypeArgumentList.kt - 102 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 104 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 106 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - TypeArgumentList.kt - 109 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - TypeArgumentList.kt - 111 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 26 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 30 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 31 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 39 - 1 - - - IndicesAccess.kt - 33 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 35 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 47 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 49 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - C + Missing trailing comma + l 16 1 - - IndicesAccess.kt - 50 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 33 - 1 - - - IndicesAccess.kt - 72 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 42 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Comma loses the advantages in this position - , - 12 - 1 - - - IndicesAccess.kt - 74 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - { - 16 - 1 - - - IndicesAccess.kt - 75 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 13 - 1 - - - IndicesAccess.kt - 91 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 107 - 1 - - - IndicesAccess.kt - 95 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 90 - 1 - - - IndicesAccess.kt - 138 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 151 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 19 - 1 - - - IndicesAccess.kt - 153 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - f - 13 - 1 - - - IndicesAccess.kt - 154 - testProject - light_idea_test_case - - Trailing comma recommendations - Missing line break - ] - 34 - 1 - - - IndicesAccess.kt - 156 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 158 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 160 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 45 - 1 - - - IndicesAccess.kt - 163 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - - - IndicesAccess.kt - 165 - testProject - light_idea_test_case - - Trailing comma recommendations - Useless trailing comma - , - 51 - 1 - \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractInspectionTest.kt b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractInspectionTest.kt index 30f08d3939e..419a81bcd18 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractInspectionTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractInspectionTest.kt @@ -18,10 +18,7 @@ import org.jdom.input.SAXBuilder import org.jetbrains.kotlin.formatter.FormatSettingsUtil import org.jetbrains.kotlin.idea.core.script.isScriptChangesNotifierDisabled import org.jetbrains.kotlin.idea.inspections.runInspection -import org.jetbrains.kotlin.idea.test.KotlinLightCodeInsightFixtureTestCase -import org.jetbrains.kotlin.idea.test.TestFixtureExtension -import org.jetbrains.kotlin.idea.test.configureCompilerOptions -import org.jetbrains.kotlin.idea.test.rollbackCompilerOptions +import org.jetbrains.kotlin.idea.test.* import org.jetbrains.kotlin.idea.util.application.runWriteAction import org.jetbrains.kotlin.idea.versions.bundledRuntimeVersion import org.jetbrains.kotlin.test.InTextDirectivesUtils @@ -96,7 +93,7 @@ abstract class AbstractInspectionTest : KotlinLightCodeInsightFixtureTestCase() if (forceUsePackageFolder) { val packageName = fileText.substring( "package".length, - fileText.indexOfAny(charArrayOf(';', '\n')) + fileText.indexOfAny(charArrayOf(';', '\n')), ).trim() val projectFileName = packageName.replace('.', '/') + "/" + file.name addFileToProject(projectFileName, fileText) @@ -117,39 +114,45 @@ abstract class AbstractInspectionTest : KotlinLightCodeInsightFixtureTestCase() }.toList() val codeStyleSettings = CodeStyle.getSettings(project) - try { - FormatSettingsUtil.createConfigurator(options, codeStyleSettings).configureSettings() - fixtureClasses.forEach { TestFixtureExtension.loadFixture(it, myFixture.module) } + configureRegistryAndRun(options) { + try { + FormatSettingsUtil.createConfigurator(options, codeStyleSettings).configureSettings() + fixtureClasses.forEach { TestFixtureExtension.loadFixture(it, myFixture.module) } - configExtra(psiFiles, options) + configExtra(psiFiles, options) - val presentation = runInspection( - inspectionClass, project, - settings = settingsElement, - files = psiFiles.map { it.virtualFile!! }, withTestDir = inspectionsTestDir.path - ) + val presentation = runInspection( + inspectionClass, project, + settings = settingsElement, + files = psiFiles.map { it.virtualFile!! }, withTestDir = inspectionsTestDir.path, + ) - if (afterFiles.isNotEmpty()) { - presentation.problemDescriptors.forEach { problem -> - problem.fixes?.forEach { - CommandProcessor.getInstance().executeCommand(project, { - runWriteAction { it.applyFix(project, problem) } - }, it.name, it.familyName) + if (afterFiles.isNotEmpty()) { + presentation.problemDescriptors.forEach { problem -> + problem.fixes?.forEach { + CommandProcessor.getInstance().executeCommand( + project, + { + runWriteAction { it.applyFix(project, problem) } + }, + it.name, it.familyName, + ) + } + } + + for (filePath in afterFiles) { + val kotlinFile = psiFiles.first { filePath.name == it.name + ".after" } + KotlinTestUtils.assertEqualsToFile(filePath, kotlinFile.text) } } - for (filePath in afterFiles) { - val kotlinFile = psiFiles.first { filePath.name == it.name + ".after" } - KotlinTestUtils.assertEqualsToFile(filePath, kotlinFile.text) + } finally { + codeStyleSettings.clearCodeStyleSettings() + if (configured) { + rollbackCompilerOptions(project, module) } + fixtureClasses.forEach { TestFixtureExtension.unloadFixture(it) } } - - } finally { - codeStyleSettings.clearCodeStyleSettings() - if (configured) { - rollbackCompilerOptions(project, module) - } - fixtureClasses.forEach { TestFixtureExtension.unloadFixture(it) } } } } diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InspectionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InspectionTestGenerated.java index 8473ab3620c..68bd471fee8 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InspectionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InspectionTestGenerated.java @@ -388,6 +388,11 @@ public class InspectionTestGenerated extends AbstractInspectionTest { runTest("idea/testData/inspections/trailingCommaOnWithCodeStyle/inspectionData/inspections.test"); } + @TestMetadata("trailingCommaOnWithCodeStyleAndCallSite/inspectionData/inspections.test") + public void testTrailingCommaOnWithCodeStyleAndCallSite_inspectionData_Inspections_test() throws Exception { + runTest("idea/testData/inspections/trailingCommaOnWithCodeStyleAndCallSite/inspectionData/inspections.test"); + } + @TestMetadata("trailingCommaOnWithoutCodeStyle/inspectionData/inspections.test") public void testTrailingCommaOnWithoutCodeStyle_inspectionData_Inspections_test() throws Exception { runTest("idea/testData/inspections/trailingCommaOnWithoutCodeStyle/inspectionData/inspections.test"); diff --git a/tests/mute-common.csv b/tests/mute-common.csv index 34efd864ea0..4c782d2c776 100644 --- a/tests/mute-common.csv +++ b/tests/mute-common.csv @@ -54,11 +54,3 @@ org.jetbrains.kotlin.psi.injection.StringInterpolationInjectionTest.testInterpol org.jetbrains.kotlin.shortenRefs.ShortenRefsTestGenerated.testExtensionForObject2, Always red org.jetbrains.kotlin.util.KotlinVersionsTest.testVersionsAreConsistent, KT-35567 org.jetbrains.kotlinx.serialization.SerializationIrBytecodeListingTestGenerated.testBasic, Broken between 20 nov and 10 dec -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testAddComma -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testAddComma2 -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testAddComma5 -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testAddComma6 -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testChangeCommaPosition -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testChangeCommaPosition2 -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testMissingLineBreak -org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.TrailingComma.testMissingLineBreak2