New Intention Action: Replace with traditional assign.
This takes an expression of the form a += b and converts it to an expression form a = a + b.
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
x = x + y
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
<spot>x += y</spot>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention modifies an expression with an augment assignment to an expression that separates the assignment and operator.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user