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:
committed by
GitHub
parent
f94d026e64
commit
ebe3619251
+1
@@ -0,0 +1 @@
|
||||
list.forEach { item -> println(item) }
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
list.forEach { item ->
|
||||
println(item)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts a multi-line lambda to a single-line one.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user