Commit Graph

3822 Commits

Author SHA1 Message Date
Roman Shevchenko 06d3d41999 [java] 'yield' statement: basic highlighting (IDEA-216410)
GitOrigin-RevId: 4edae910f16a27c2a46068c2d8b6fce4674e0571
2019-07-02 06:52:16 +03:00
Anna Kozlova d02e7ed0b1 java: dedicated text blocks test
make tests on preview features disconnected from language level to make them evolve easily

GitOrigin-RevId: b92e4d8eeb4b7ef71e5fedd18c06fbe213e9dc9e
2019-07-02 06:52:16 +03:00
Anna Kozlova 89fa4186d6 java: dedicated switch expressions test
make tests on preview features disconnected from language level to make them evolve easily

GitOrigin-RevId: f87bbf684355bce7ae97711a0fc9b5861d58f775
2019-07-02 06:52:16 +03:00
Tagir Valeev da9c5dd049 Wrap switch rule statements into block fix (IDEA-202664, IDEA-207059)
GitOrigin-RevId: 184ebf34bd15c46f54685cf06521cee1d903b056
2019-07-02 06:52:16 +03:00
Artemiy Sartakov 8ec9a2e0ce HighlightUtil: suggest fix for cases when method has void return type and return statement value type is unknown (IDEA-216279)
GitOrigin-RevId: 2af7ce37a427c8ec6f5175fc820ec0eecbf719c9
2019-07-02 06:52:16 +03:00
Tagir Valeev a939a18e23 SimplifyBooleanExpression: Fix negation generation for xor case
GitOrigin-RevId: a6072460618ac0a7c6c29f0ad61c0bdde4d52318
2019-07-02 06:52:16 +03:00
Tagir Valeev 0b3fd46151 Simplify boolean expression improvements
1. Add "may change semantics" when side-effect cannot be extracted
2. Use condition reporting (instead of constant value reporting) for non-short-circuiting & and | (fixes IDEA-216245)
3. Use SimplifyBooleanExpressionFix for boolean constant value instead of replace fix.

GitOrigin-RevId: f3e63a75bd92a7305e36fce58bf9e34bdbb03c51
2019-07-02 06:52:16 +03:00
Tagir Valeev 77e2d54bb0 IDEA-216381 exclude non-comparable collection elements (IDEA-CR-48589)
GitOrigin-RevId: 58ab178f4b0c6662a08949c5adbc95fe64b3e770
2019-07-02 06:52:16 +03:00
Tagir Valeev 5907d8eed1 IDEA-216381 Stream.min and Collections.reverseOrder is not simplified to Stream.max
GitOrigin-RevId: 2c91b1cf5b8bc8c3c8beb2a07d65b86654eda425
2019-07-02 06:52:16 +03:00
Tagir Valeev 3930aa3a6f ControlFlowUtil#internalDepthFirstSearch: rewrite subroutine tracking
Now every graph edge is accompanied with subroutine stack.
Also shared mutable state is removed from instructions (now it's local to DFS procedure).
Fixes IDEA-201093 Unreachable bug in three try catch while two have finally

GitOrigin-RevId: b600ba63e2da315c9830836adcdc4d8fecf92ca3
2019-07-02 06:52:16 +03:00
Alexander Zolotov 391bda1c4b Update color schemes
- support the new Go colors

GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00
Tagir Valeev ca1d2bed6d Do not suggest computeIfAbsent <=> putIfAbsent conversions if value could be nullable
Fixes IDEA-215931 Incorrect "Excessive lambda usage" warning

GitOrigin-RevId: 13fa8f5d7d283cd7a208053ed0271a644b713391
2019-06-16 08:15:42 +03:00
Anna Kozlova 667d922108 overload resolution: static methods from super interfaces should be skipped in favor to instance methods (IDEA-216009)
GitOrigin-RevId: f172ea91498434cd956010df286dc418334a83b9
2019-06-16 07:52:26 +03:00
Roman Shevchenko 04e6f4a623 Cleanup (warnings; typos; formatting)
GitOrigin-RevId: 1cad4232ba1d1f58c522aa26019d245e2bf6832d
2019-06-16 06:52:20 +03:00
Vyacheslav Karpukhin d5fb24d414 Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into slava/out_of_process_sim_and_dev
GitOrigin-RevId: ccfc7bb2ab1846fbf2c169f6262ffa412f3efb80
2019-06-16 06:51:48 +03:00
Dmitry Jemerov da9e941d80 @NotNull for RunConfigurationExtension.updateJavaParameters()
GitOrigin-RevId: 5c472044f340aeaf67f3a81695814e70e3a125f0
2019-06-16 06:51:17 +03:00
Vyacheslav Karpukhin 24d766790c Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into egorzhdan/coverage
GitOrigin-RevId: 55b653eb620e8dc5642c467b0308e447a5ac32a7
2019-06-16 06:50:45 +03:00
Anna Kozlova 5355846fe0 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-16 06:35:42 +03:00
Roman Shevchenko 74f5d16bd7 [java] text blocks: basic highlighting (IDEA-215312)
GitOrigin-RevId: 66780cacc839496911748c788ef8ca79a6cd0c9d
2019-06-16 05:20:01 +03:00
Rustam Vishnyakov 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Eldar Abusalimov 1120c30a56 Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
# Conflicts:
#	CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java

GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
2019-06-16 03:01:38 +03:00
Tagir Valeev 13be43ae66 LambdaAndExplicitMethodPair: fixed negations (IDEA-CR-48396); imports in tests fixed
GitOrigin-RevId: 6dcd3aa510e733070f5f942d22ce68250d2c5cee
2019-06-15 07:01:36 +03:00
Tagir Valeev 9366f0ec2a Do not suggest computeIfAbsent <=> putIfAbsent conversions if value could be nullable
Fixes IDEA-215931 Incorrect "Excessive lambda usage" warning

GitOrigin-RevId: 13fa8f5d7d283cd7a208053ed0271a644b713391
2019-06-14 14:20:58 +03:00
Anna Kozlova 67d165e584 overload resolution: static methods from super interfaces should be skipped in favor to instance methods (IDEA-216009)
GitOrigin-RevId: f172ea91498434cd956010df286dc418334a83b9
2019-06-14 00:13:20 +03:00
Roman Shevchenko c1a58ffd17 Cleanup (warnings; typos; formatting)
GitOrigin-RevId: 1cad4232ba1d1f58c522aa26019d245e2bf6832d
2019-06-13 03:32:53 +03:00
Vyacheslav Karpukhin e4effb75b9 Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into slava/out_of_process_sim_and_dev
GitOrigin-RevId: ccfc7bb2ab1846fbf2c169f6262ffa412f3efb80
2019-06-13 03:32:21 +03:00
Dmitry Jemerov 7afa5ca0ac @NotNull for RunConfigurationExtension.updateJavaParameters()
GitOrigin-RevId: 5c472044f340aeaf67f3a81695814e70e3a125f0
2019-06-13 03:31:49 +03:00
Vyacheslav Karpukhin 8f41ae3227 Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into egorzhdan/coverage
GitOrigin-RevId: 55b653eb620e8dc5642c467b0308e447a5ac32a7
2019-06-13 03:31:18 +03:00
Anna Kozlova 91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan 39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Roman Shevchenko d3342d3335 [java] text blocks: basic highlighting (IDEA-215312)
GitOrigin-RevId: 66780cacc839496911748c788ef8ca79a6cd0c9d
2019-06-10 21:09:06 +03:00
Julia Beliaeva 3fee046d20 [vcs-log] cleanup RootCellRenderer
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov dcaeb8f8c7 OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
Anna Kozlova b540bb262e overload resolution: ensure type parameters of containing class are fixed during most specific inference (IDEA-205886)
GitOrigin-RevId: 01b3a6f25c68e27475a053c74a7765e84147beca
2019-06-06 18:11:25 +03:00
Anna Kozlova 81a13b0fc0 inference: register nested sessions for void compatible lambdas (IDEA-207070)
GitOrigin-RevId: 77f740e2754917b0053fcb79fb56e2b0c62436f4
2019-06-05 11:12:12 +03:00
Anna Kozlova bff61142a8 testdata for IDEA-211775
GitOrigin-RevId: d3001a3ef0d439c9701c7d6bf83e9363065477f0
2019-06-05 11:11:42 +03:00
Roman Shevchenko d08658cd55 [java] text block literals: feature highlighting (IDEA-215312)
GitOrigin-RevId: c821907a3b48fcbe19f6d9409b87ce1a4bc3dc50
2019-06-04 16:19:31 +03:00
Tagir Valeev a67207d6c8 IDEA-215325 Provide "surround with instanceof" fix for possible class cast warning
Also 'assert x instanceof Type' fix is provided

GitOrigin-RevId: 56603a5cb9ce2040525b4147cc8fcabd6f6d7d5d
2019-06-03 09:06:15 +03:00
Tagir Valeev 2ba9a65828 IDEA-167980 Add quick fix to merge two annotations which are not marked as repeatable
GitOrigin-RevId: 6cc5742354b484ea996ec6a0d2bfa29f3013a08a
2019-05-30 12:07:55 +03:00
Anna Kozlova 4b9293e63f fix reference to inner class of generic outer in static context (IDEA-215061)
GitOrigin-RevId: b969c41b3282bf89c4b44da598c7ec408ea8fec5
2019-05-29 23:07:12 +03:00
Anna Kozlova ebf02771d4 unchecked warning: don't warn for raw substitutor if parameter type mentions method's type parameter
GitOrigin-RevId: 8f0b56e55747ff36fffc6d60ae06bb4aea9fcd96
2019-05-29 21:13:43 +03:00
Artemiy Sartakov f7bbc47fe8 SortContentAction: consider error element as separator between sortable entries (IDEA-214843)
GitOrigin-RevId: cda0be0ead288decd24b5dffe9ed00c327e7b14e
2019-05-29 13:07:50 +03:00
Tagir Valeev c5617ef120 SourceOperation: avoid copying final field to bound variable
GitOrigin-RevId: fd750ded28fac7a89e41c22610298fe9a23cc25b
2019-05-29 11:09:30 +03:00
Aleksey Rostovskiy 185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin 9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
peter 000ccd1dbc java: prohibit caching when using thread-local types imposed on expressions and declarations in complex nested inference scenarios
GitOrigin-RevId: a767826dedb5d1879009ee5804e1c675d1b863ac
2019-05-27 09:04:05 +03:00
Anna Kozlova 4033fae095 disable create type parameter at annotation position
GitOrigin-RevId: 1d3518ff3bdeac406ee1d033cb203461cab128ca
2019-05-24 13:48:13 +03:00
Anna Kozlova 5d96e5d9f0 annotation highlighting: skip unresolved attribute highlighting for non-annotation types
GitOrigin-RevId: 4b705957a414cc90f2b952595f6d6dfbb880f876
2019-05-23 22:05:32 +03:00
Anna Kozlova 479cd22854 interface methods: adjust fixes to add/delete body (IDEA-212082)
GitOrigin-RevId: 4ecf568f2b8ed16ec0d11a56feaf2043b244302f
2019-05-23 14:04:56 +03:00