KT-4562 New Intention: Add and Remove braces from control statements that have single line bodies
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
b6a9772508
commit
2f613638c2
@@ -0,0 +1,4 @@
|
||||
if (b) <spot>{
|
||||
return 1
|
||||
}</spot>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
if (b) return 1
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds braces to control flow statements without braces.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user