Bas Leijdekkers and intellij-monorepo-bot
ea73b88a7c
psi: don't insert unnecessary parentheses when replacing expression (IDEA-220761)
...
GitOrigin-RevId: 7fe48d0f72581221a633373933b941c09b2c69ed
2019-08-22 01:50:10 +03:00
Yuriy Artamonov and intellij-monorepo-bot
947520872e
IDEA-220832 Create File intention: don't suggest generated sources root as possible target
...
GitOrigin-RevId: 302317ca1cb6bbcb71604d58db3b1d2f7c5480ee
2019-08-19 13:03:31 +03:00
Anna Kozlova and intellij-monorepo-bot
54eb66996d
junit: check for junit classes available in scope before proceeding with costly checks (SCL-16058)
...
GitOrigin-RevId: 34f3dda8a83aada3c78c9888aa995d010af2a62a
2019-08-15 18:04:21 +03:00
Anna Kozlova and intellij-monorepo-bot
c1b79848e1
java: disable heavy weight add type cast for lambda bodies with failed inference on top
...
for long chained calls with many type errors, DFA checks may be too slow
GitOrigin-RevId: 851604a1252743c92d8c33973845cdda7bbb996a
2019-08-12 19:04:15 +03:00
Artemiy Sartakov and intellij-monorepo-bot
d98814d304
OptionalToIfInspection: added missing imports (IDEA-212269)
...
GitOrigin-RevId: afbeaa1f10b2266cd1401da83b71cf0bf6862824
2019-08-07 17:02:43 +03:00
Artemiy Sartakov and intellij-monorepo-bot
6f1efb8fc0
OptionalToIfInspection: added inspection to desugar optional chain to sequence of if statements (IDEA-212269)
...
GitOrigin-RevId: c83b70e05544529b3dfffe24bc87997910edcb56
2019-08-07 17:02:43 +03:00
Tagir Valeev and intellij-monorepo-bot
2572c79c56
CollectMigration.NewListTerminal: support Guava collection constructors (IDEA-219934)
...
Also remove .distinct() automatically when unnecessary.
GitOrigin-RevId: 504dd9e645f9492a4142c0793c42188912afdde9
2019-08-07 12:04:38 +03:00
Anna Kozlova and intellij-monorepo-bot
774401fb2f
extract if: keep necessary parenthesis (IDEA-219639)
...
GitOrigin-RevId: 9582978807c159f8302a1781a5f3388fb0130ad9
2019-08-06 13:03:24 +03:00
Anna Kozlova and intellij-monorepo-bot
616e3ca030
method references: allow access to protected methods through super (IDEA-217862)
...
GitOrigin-RevId: f1d86f6127a64146e87998423f3034e38a46409c
2019-08-05 23:03:36 +03:00
Tagir Valeev and intellij-monorepo-bot
ae33c73266
ReturnReplacementContext#extractTail: leave blank line in place (IDEA-219142)
...
GitOrigin-RevId: 30a93c99fc47f4d277b45cabe9c72b4a41b05846
2019-08-05 00:03:02 +03:00
Yuriy Artamonov and intellij-monorepo-bot
95649ee955
IDEA-218163 IDEA-CR-50494 Tests for CreateFilePathFix and CreateDirectoryPathFix in Java plugin
...
GitOrigin-RevId: 26ab3c8980868b3da0e7c1e6ff2e36c4146b838d
2019-07-29 16:00:42 +03:00
Artemiy Sartakov and intellij-monorepo-bot
6f4c0d38cf
SortContentAction: append all children between method expression and expression list for method call (IDEA-218735)
...
GitOrigin-RevId: 0cc643fdbdac51be763d51bf53b28d48f371e460
2019-07-23 17:44:15 +03:00
Tagir Valeev and intellij-monorepo-bot
30b914be28
IDEA-216810 Unexpected behaviour with "Transform Method to Single Exit Point" / Inline refactoring
...
GitOrigin-RevId: 31a77ebb86f3da40caeda5e8ca60ccec51ebfb13
2019-07-16 15:01:49 +03:00
Tagir Valeev and intellij-monorepo-bot
50ff44aebd
IDEA-218391 Transform to single return: remove excessive braces in if-else chains.
...
GitOrigin-RevId: b13d36218843ae5ff7fbfbcadc898113ad4c9bc1
2019-07-16 15:01:49 +03:00
Anna Kozlova and intellij-monorepo-bot
922040b4dd
java: remove FQNs from change type fixes (IDEA-145570)
...
GitOrigin-RevId: d6bca8039c7d47615cb40ed2def7f5572784e99b
2019-07-13 00:03:02 +03:00
Roman.Ivanov and intellij-monorepo-bot
5652d26604
Inlay hints: do not chop list in presence of comments: IDEA-218083
...
GitOrigin-RevId: e442ad27055bb59888f2173150ac95de75b7f87b
2019-07-12 08:28:33 +03:00
Max Medvedev and intellij-monorepo-bot
adc488ca04
Revert "IDEA-217722 Encapsulate field: remove obsolete tests"
...
This reverts commit 8a121a92
GitOrigin-RevId: 79821c52e6fdfd8587fb523f91f393523ddace77
2019-07-11 17:42:27 +03:00
Roman.Ivanov and intellij-monorepo-bot
1783bbf417
JavaJoinListAction: do not suggest intention when comments exists
...
GitOrigin-RevId: ad790d5b4abde39deea670873eb4b34f2a01828c
2019-07-09 14:02:07 +03:00
Anna Kozlova and intellij-monorepo-bot
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
Artemiy Sartakov and intellij-monorepo-bot
642c65dd11
MethodReturnTypeFix: highlight only return statements when method return type doesn't match expected (IDEA-216275)
...
GitOrigin-RevId: d5f7dc3b03d68d249ba29532b0e8c0555cae60d6
2019-07-08 15:09:05 +03:00
Max Medvedev and intellij-monorepo-bot
384a7b1bef
IDEA-217722 Encapsulate field: remove obsolete tests
...
GitOrigin-RevId: 8a121a92dc65bb8dd50a9ce789667cd8e46d5516
2019-07-07 15:01:42 +03:00
Artemiy Sartakov and intellij-monorepo-bot
42d733a694
MethodReturnTypeFix: updated fix to change method return type based on return statements in method body (IDEA-216275)
...
GitOrigin-RevId: e97990950039123c8c41921a71342b8ed60afdee
2019-07-04 09:02:24 +03:00
Roman Shevchenko and intellij-monorepo-bot
1520e434af
[java] 'yield' statements support in the side-effect extractor
...
GitOrigin-RevId: a6020c6427a05f0bcd6f6987a13252929854c547
2019-07-02 06:52:16 +03:00
Anna Kozlova and intellij-monorepo-bot
e892dae139
java: disable split declaration & assignment inside classes/lambdas/switches
...
GitOrigin-RevId: bf3dbb61f0f7c69f9310e20931a16af0dda2050d
2019-07-02 06:52:16 +03:00
Anna Kozlova and intellij-monorepo-bot
24d1d27b1e
switch expressions 2.0: expected type by yield
...
GitOrigin-RevId: f4e396ddc90d66790db044525611c536c3f620fa
2019-07-02 06:52:16 +03:00
Roman.Ivanov and intellij-monorepo-bot
a411f20f37
intention to put args/parameters on single line: IDEA-209924
...
GitOrigin-RevId: d603666f0de7fb1f3be09a2f3616c6fa552102d2
2019-07-02 06:52:16 +03:00
Roman.Ivanov and intellij-monorepo-bot
002e7efd27
apply chop arguments for calls only
...
GitOrigin-RevId: 327173f16c882df5d72743d3bee2bb114f069d58
2019-07-02 06:52:16 +03:00
Roman.Ivanov and intellij-monorepo-bot
0751454160
implement put parameters/arguments on separate lines intention
...
GitOrigin-RevId: a786006ab3d744c7e8cbec2be8ae10eca8902e82
2019-07-02 06:52:16 +03:00
Artemiy Sartakov and intellij-monorepo-bot
117357c4db
HighlightUtil: cr fixes (IDEA-CR-48700):
...
- extract side effects when removing return statement
- suggest to replace void with Object in case when null is returned
- generateReturnValueFromVoidMethodInfo -> registerReturnValueFixes
GitOrigin-RevId: 0b068f00758fb1fd521f76a1da6964e114ef0853
2019-07-02 06:52:16 +03:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
a939a18e23
SimplifyBooleanExpression: Fix negation generation for xor case
...
GitOrigin-RevId: a6072460618ac0a7c6c29f0ad61c0bdde4d52318
2019-07-02 06:52:16 +03:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
77e2d54bb0
IDEA-216381 exclude non-comparable collection elements (IDEA-CR-48589)
...
GitOrigin-RevId: 58ab178f4b0c6662a08949c5adbc95fe64b3e770
2019-07-02 06:52:16 +03:00
Tagir Valeev and intellij-monorepo-bot
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
Alexander Zolotov and intellij-monorepo-bot
391bda1c4b
Update color schemes
...
- support the new Go colors
GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00
Tagir Valeev and intellij-monorepo-bot
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
Rustam Vishnyakov and intellij-monorepo-bot
123242c4b2
EditorConfig documentation test
...
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan and intellij-monorepo-bot
c1813cfb52
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Eldar Abusalimov and intellij-monorepo-bot
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 and intellij-monorepo-bot
13be43ae66
LambdaAndExplicitMethodPair: fixed negations (IDEA-CR-48396); imports in tests fixed
...
GitOrigin-RevId: 6dcd3aa510e733070f5f942d22ce68250d2c5cee
2019-06-15 07:01:36 +03:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
39d2d77155
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Julia Beliaeva and intellij-monorepo-bot
3fee046d20
[vcs-log] cleanup RootCellRenderer
...
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov and intellij-monorepo-bot
dcaeb8f8c7
OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
...
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
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
Artemiy Sartakov and intellij-monorepo-bot
f7bbc47fe8
SortContentAction: consider error element as separator between sortable entries (IDEA-214843)
...
GitOrigin-RevId: cda0be0ead288decd24b5dffe9ed00c327e7b14e
2019-05-29 13:07:50 +03:00