Ilyas Selimov
f71e23592f
IDEA-270442 - DFA for pattern in switch: initial patterns support
...
GitOrigin-RevId: 3f130f6abad7cd0143f5d30b48ec988fa5b8a633
2021-10-18 17:20:18 +00:00
Andrey.Cherkasov
0ad9f84d7e
[java-highlighting] Provide fix "Remove switch label/branch" for "Label is dominated by a preceding case label " error
...
IDEA-272296
GitOrigin-RevId: a70292dd55645854de65ebee4d5d0f8ed6c8958c
2021-10-01 20:26:12 +00:00
Ilyas Selimov
549bb827f0
IDEA-278082 - supported duplicates highlighting for total patterns
...
GitOrigin-RevId: c262a38924c0ce72464d92825af45302b9f24625
2021-09-16 09:04:17 +00:00
Andrey.Cherkasov
8e0a546003
Fixes after IJ-CR-12522
...
GitOrigin-RevId: 828b51e578364351368a3bfa5456c5f58b6235f8
2021-08-06 11:23:43 +00:00
Andrey.Cherkasov
c582d1c4c4
IDEA-273865 Duplicates in the switch: provide the quick-fix
...
GitOrigin-RevId: 4f4e0965726596bf9b188b16b100e13a0072b38b
2021-08-01 19:33:26 +00:00
Andrey.Cherkasov
c8e763e188
Provide fix "Remove switch label/branch" for the "'switch' has both a total pattern and a default label" error
...
IDEA-272573
GitOrigin-RevId: 37262fbd3543791b41513f6f1bea1970c8d3183c
2021-07-27 00:30:31 +00:00
Anna Kozlova
bd1a21a02a
bump highest language level to 14, prepare to remove 13_preview
...
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
2020-04-01 12:31:42 +00:00
Anna Kozlova
2e17e61cae
remove language level 12 preview for 2019.3 release
...
IDEA would support latest preview only
GitOrigin-RevId: 6609e80acced9e1be07880c14de239f75afcc78b
2019-07-09 00:03:25 +03:00
Tagir Valeev
98347e5018
IDEA-203984 "Remove unreachable branches" quickfix breaks code on switch expression
2018-12-11 15:48:48 +07:00
Tagir Valeev
0d96d61986
IDEA-203119 Unwrap switch statement: support expressions
2018-11-28 19:00:05 +07:00
Tagir Valeev
81c9810bde
IDEA-203119 Unwrap switch statement: support rule-cases and multiple expression cases
2018-11-28 19:00:04 +07:00
Tagir Valeev
6bc07438c6
Support of enhanced Java 12 switch statements in DFA (IDEA-202132, no expressions yet)
2018-11-16 12:06:16 +07:00
Tagir Valeev
747aec38c9
ConvertSwitchToIfIntention: better comments handling
2018-10-23 15:34:51 +07:00
Tagir Valeev
50abafa3f8
UnwrapSwitchLabelFix: when only one switch branch is reachable
...
Fixes IDEA-200651 Analysis for 'switch' statements may determine always truthy conditions on branches in addition to always falsy
Minor refactoring of reporting in DataFlowInspectionBase
2018-10-17 16:39:25 +07:00
Tagir Valeev
1554b0c513
DeleteSwitchLabelFix: check again whether the whole branch should be removed when fix is actually applied
...
Fixes IDEA-200021 Red code after applying 'Fix all 'Constant conditions and exception' problems in the file' with multiple case labels
2018-10-08 14:09:25 +07:00
Tagir Valeev
5663e0bde8
IDEA-200030 Quick-fix to remove unreachable should remove body only if previous branch has 'break' at the end
2018-10-08 10:57:50 +07:00
Tagir Valeev
5fc3612fa9
DeleteSwitchLabelFix: delete unreachable switch branch
...
Fixes IDEA-199692 Quickfix to delete unreachable switch branch reported by "constant conditions & exceptions"
2018-10-01 14:54:36 +07:00