Yan Zhulanow
|
d735637f1e
|
Revert "RemoveBracesIntention: add new line for long expression"
This reverts commit f4b9c477
|
2020-10-24 00:22:37 +09:00 |
|
Toshiaki Kameyama
|
f4b9c4777f
|
RemoveBracesIntention: add new line for long expression
#KT-30523 Fixed
|
2020-10-23 15:46:52 +09:00 |
|
Toshiaki Kameyama
|
a96b359a09
|
"Remove braces from 'if' statement": do not suggest when lambda is directly under 'if'
#KT-35994 Fixed
|
2020-04-02 12:52:11 +03:00 |
|
Toshiaki Kameyama
|
7b1771d432
|
Remove braces from 'when' entry: do not suggest when statement is lambda that has no arrow
#KT-35288 Fixed
|
2019-12-17 11:20:36 +03:00 |
|
Toshiaki Kameyama
|
04638eea6b
|
Remove braces intention: fix caret position
#KT-31443 Fixed
|
2019-05-17 11:18:44 +07:00 |
|
Toshiaki Kameyama
|
e328d2d1ca
|
Suggest "Remove braces" in nested if correctly #KT-14270 Fixed
|
2018-03-22 09:56:22 +03:00 |
|
Mikhail Glukhikh
|
8cbf364457
|
Remove braces: add parentheses to if-else in more general case
Related to KT-18308
|
2018-01-29 14:32:36 +03:00 |
|
Toshiaki Kameyama
|
44c15d8311
|
Remove braces: add parentheses to if-else inside expression
So #KT-18308 Fixed
|
2018-01-29 14:32:36 +03:00 |
|
Mikhail Glukhikh
|
cbc7f72f15
|
Minor: remove braces is now applicable for the whole loop or when entry
|
2016-09-09 14:59:47 +03:00 |
|
Mikhail Glukhikh
|
cf2839eb9a
|
Refactoring: remove braces from when entry intention is integrated into general remove braces intention
|
2016-09-09 14:59:42 +03:00 |
|
Mikhail Glukhikh
|
39ffb68cc6
|
KT-12942 related: remove braces now does not work for if inside if
(cherry picked from commit c1faed5)
|
2016-07-12 17:27:19 +03:00 |
|
Nikolay Krasko
|
a9f11d2c64
|
Always add new line space with space before to deal with KEEP_FIRST_COLUMN_COMMENT option
InvertIfConditionIntention, RemoveBracesIntention tests are affected
#KT-4175 In Progress
|
2016-03-16 12:38:19 +03:00 |
|
Nikolay Krasko
|
6193987d0d
|
Reformat code should not align comments (KT-4175)
#KT-4175 In Progress
|
2016-03-16 12:38:17 +03:00 |
|
Yan Zhulanow
|
a3ff3ffc45
|
Fix tests: "Placing function type parameters after the function name" error
|
2015-11-27 15:51:11 +03:00 |
|
Valentin Kipyatkov
|
1268684ced
|
Smaller availability range for RemoveBracesIntention + refactored it and AddBracesIntention
|
2015-04-16 22:00:52 +03:00 |
|
Alexander Udalov
|
fe544eaf71
|
Rename jet -> kotlin in idea: intentions
org.jetbrains.jet.plugin.intentions -> org.jetbrains.kotlin.idea.intentions
|
2015-01-13 01:14:37 +03:00 |
|
Evgeny Gerashchenko
|
0a3d852336
|
Minor. Renamed test data to avoid repetitions.
|
2014-07-10 15:05:18 +04:00 |
|
Evgeny Gerashchenko
|
55ed0471b6
|
KT-4980 'Remove braces' intention throws NPE for a for-loop with variable declaration
#KT-4980 fixed
|
2014-07-10 15:05:18 +04:00 |
|
Evgeny Gerashchenko
|
fda7aeecfb
|
Simplified CodeTransformationTest. Only one doTest method remains, intention class is moved to test data. Merged other intention tests (SpecifyTypeExplicitlyTest, ConvertToBlock/ExpressionBodyTest) into this one.
|
2014-07-10 15:05:17 +04:00 |
|
Zalim Bashorov
|
b43958f4b3
|
Fixed tests after adding error checking for intention tests.
|
2014-04-01 20:49:24 +04:00 |
|
gavinkeusch
|
2f613638c2
|
KT-4562 New Intention: Add and Remove braces from control statements that have single line bodies
|
2014-03-06 23:45:45 +04:00 |
|