Add intention to convert top level val with object expression to object declaration (#974)
* Add intention to convert top level val with object expression to object Fixes #KT-14137 * fix intention description
This commit is contained in:
committed by
Dmitry Jemerov
parent
93b5eec71e
commit
8e00af5642
@@ -1574,6 +1574,11 @@
|
||||
<category>Kotlin</category>
|
||||
</intentionAction>
|
||||
|
||||
<intentionAction>
|
||||
<className>org.jetbrains.kotlin.idea.intentions.ValToObjectIntention</className>
|
||||
<category>Kotlin</category>
|
||||
</intentionAction>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.intentions.ObjectLiteralToLambdaInspection"
|
||||
displayName="Object literal can be converted to lambda"
|
||||
groupName="Kotlin"
|
||||
|
||||
Reference in New Issue
Block a user