KT-14779 Inspection to replace String.format with string templates (#1645)

* Add inspection to replace String.format with string templates #KT-14779 Fixed

* KT-14779 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-06-20 22:23:04 +09:00
committed by Vyacheslav Gerasimov
parent e41a34af88
commit 6675d7814c
22 changed files with 326 additions and 0 deletions
+9
View File
@@ -2882,6 +2882,15 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.ReplaceStringFormatWithLiteralInspection"
displayName="Replace with string templates"
groupPath="Kotlin"
groupName="Style issues"
enabledByDefault="true"
level="INFORMATION"
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.NestedLambdaShadowedImplicitParameterInspection"
displayName="Nested lambda has shadowed implicit parameter"
groupPath="Kotlin"