KT-33384 Intention to switch between single-line/multi-line lambda (#2790)

Add intention for single-line lambda <-> multi-line lambda conversion

#KT-33384 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-01-29 18:32:26 +09:00
committed by GitHub
parent f94d026e64
commit ebe3619251
43 changed files with 383 additions and 0 deletions
@@ -0,0 +1 @@
list.forEach { item -> println(item) }
@@ -0,0 +1,3 @@
list.forEach { item ->
println(item)
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention converts a multi-line lambda to a single-line one.
</body>
</html>