Anna Kozlova
7a61cdc1b7
inference: traverse to parent to get cached target type
...
GitOrigin-RevId: fb048adc50d2d112b951c87c0e6cf6f5fadc66a2
2019-05-15 21:06:39 +03:00
Dmitry Batrak
865bc6f0a5
IDEA-211247 JavaDoc generated from HTML eats angle brackets in the link title
...
added test case
GitOrigin-RevId: 6979c7ef20cb8f5105c632616668a0d9b1c27c7d
2019-05-15 12:07:51 +03:00
Dmitry Batrak
0f50956071
make documentation text decoration performed by DocumentationComponent visible in tests
...
GitOrigin-RevId: 8c42ee227b4d457e6b57fe43070aef281f922a7a
2019-05-15 12:07:20 +03:00
Anna Kozlova
f2014af32f
error highlighting: fix accessibility for diamond constructors (IDEA-212188)
...
GitOrigin-RevId: 7193877427e50351a1171df12a431effc89b6bfd
2019-05-15 10:08:04 +03:00
peter
3fa91b09d5
java: propagate (completion) inference policy to nested sessions (IDEA-208607)
...
GitOrigin-RevId: 63b587a222e027c92ac3eebb1a5aeb79b669b17e
2019-05-15 00:06:43 +03:00
peter
0a8f4c0ac6
java: add smart enter for incomplete ternary operator, DRY (IDEA-70189)
...
GitOrigin-RevId: 0f8fa9c23efc9cf2d3be079a7e80e7cbbcdfdce9
2019-05-14 20:17:56 +03:00
Anna Kozlova
78095fd61d
inference: check lower bounds assignability to upper bounds
...
lub may break some capture invariants
GitOrigin-RevId: c7857bf255c357471fd9f14fc161d2ca03769f4b
2019-05-14 11:06:24 +03:00
Anna Kozlova
6c0caa5601
overload resolution: ignore static methods from super interface (IDEA-212406)
...
GitOrigin-RevId: b7d5a8433fc6c96aa3d0a0208976dc9bee7cad97
2019-05-13 23:09:11 +03:00
peter
5a338f9995
make Complete Statement guess more often with unclosed overloaded method calls (IDEA-210617)
...
GitOrigin-RevId: 19121349fed3324788594beb54021ad2fb332e48
2019-05-13 21:03:55 +03:00
peter
e583481074
java completion: disprefer already called builder methods (IDEA-211080)
...
GitOrigin-RevId: 5a579dbd900505da03b987041f58c45104997d8f
2019-05-13 20:09:00 +03:00
Anna Kozlova
e7f9f733dd
inference testdata: error message should not depend on evaluation order
...
GitOrigin-RevId: 5de0efc888c6627537d55f7544eb5af96e716ab6
2019-05-11 00:06:26 +03:00
peter
fcf2058fab
IDEA-207858 Completion: default: should be indented correctly
...
GitOrigin-RevId: 03061981d39a54eaa807cd3bb280e028fca0e681
2019-05-08 18:03:08 +03:00
Dmitry Avdeev
83f21c7197
Merge remote-tracking branch 'origin/master'
...
GitOrigin-RevId: 211e84dab4063848c1d3d835a526271ee1466636
2019-05-07 17:03:19 +03:00
Dmitry Avdeev
f9664fc455
IDEA-211555 Freeze on completion in XML file
...
do not process xincludes in ExtensionDomExtender
GitOrigin-RevId: d631dcd52d5bf500b61960473e16237008ad02a3
2019-05-07 17:02:41 +03:00
Anna Kozlova
0374b5f49c
conditional expression: use target type for overload cases when assignable
...
GitOrigin-RevId: 2be5da156f1726f8536e6fc6447ae847629b0001
2019-05-06 11:04:24 +03:00
Anna Kozlova
e26bb55130
overload resolution: encapsulate overload guard checks + eliminate additional applicability predicate
...
GitOrigin-RevId: 41c411466ef8def32fb15535dc639a7f7dc29285
2019-05-06 11:03:23 +03:00
Aleksey Pivovarov
322db66a12
Recover after problematic merge
...
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
3f5cfd958d9b6b54393c15983ac94f519c37fe61
GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee
[uast-groovy] UInjectionHost support
...
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545
CPP-16098 - Lags during inplace rename typing
...
- reverted some of the changes
GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d
Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
...
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
970dc0fe32
Remove unnecessary downcasting
...
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkun
2d9369d983
CPP-16098 - Lags during inplace rename typing
...
- changed behaviour in safe way by introducing new method to check that particular expression does not depend
on committed PSI
GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
2019-05-03 01:39:50 +03:00
Leonid Bushuev
338ad6db56
SQL code style per dialect: UI: fix indent editor
...
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkun
d990d75dba
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
2019-05-03 01:38:45 +03:00
Vladimir Plyashkun
e3ca319824
CPP-16098 - Lags during inplace rename typing
...
- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult`
GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
2019-05-03 01:38:12 +03:00
Leonid Bushuev
dc1a52762e
SQL code style per dialect: UI
...
GitOrigin-RevId: 9b1b3e745d4c8acef5a4a1018714e004e5423519
2019-05-03 01:37:38 +03:00
Vladimir Plyashkun
d712ac9901
CPP-16098 - Lags during inplace rename typing
...
- removed `commitDocument` call when `isQuick` argument is passed
- pass `element` or `null` to `equalsToText` call (since there is not real need to take it for text comparison)
GitOrigin-RevId: 27c5e1a2f484fc56d41dfd210832ae94c9a9b7ab
2019-05-03 01:37:04 +03:00
Leonid Bushuev
9f35a30458
SQL code style per dialect: UI
...
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Tagir Valeev
61ac76cf48
IDEA-211702 Incorrect inspection "Can be replaced with single expression in functional style" when types differ
...
GitOrigin-RevId: 4006edb212486fa38b31b26ecbed881e6079f6e6
2019-04-29 13:28:39 +03:00
Anna Kozlova
7a03a2be5c
method references overload resolution: skip static methods of interfaces called on inheritor (IDEA-209920)
...
GitOrigin-RevId: 9e7889def32913679fa867f9dd2a80f8d187964e
2019-04-28 19:25:43 +03:00
Anna Kozlova
d3928de54b
change method return type: avoid changes in hierarchy when assignable (IDEA-209931)
...
GitOrigin-RevId: 43166bdd806d2a0b6ed2e72e6630c9cf53fba7b4
2019-04-28 19:25:11 +03:00
Tagir Valeev
3368f8e2d5
ParenthesesUtils#removeParensFromPolyadicExpression: check operand validity
...
As processing the previous operands may completely rewrite the whole polyadic expression, we have to stop if this happens
No need to find the replacement and process the tail: it's already processed in removeParensFromParenthesizedExpression
Fixes EA-141996 - PIEAE: CompositePsiElement.getContainingFile
GitOrigin-RevId: 64162346a612e2d95eec426419bef51d6c5d46a3
2019-04-28 17:44:13 +03:00
Roman Shevchenko
5146c45ba8
[java] makes "convert to basic latin" action tolerable to unclosed doc comments (IDEA-211695)
...
GitOrigin-RevId: afe4cff35979b4f3ec0c72512d0e555b3f21ac78
2019-04-28 17:40:30 +03:00
peter
28a5a5765f
IDEA-211449 IDEA is unable to find lambda implementations when invoked on library class source
...
GitOrigin-RevId: 8fd904e0dae62c5b15f9b85fe2086860bf89b4d0
2019-04-28 17:13:28 +03:00
Anna Kozlova
38f5055d00
replace type with var: allow anonymous type replacement (IDEA-210534)
...
though interface to implementation replacement may lead to implementation type propagation, anonymous type can't be propagated so it's safe to be used as var
GitOrigin-RevId: cae306614efcb92551f2aa907f8d66e1bd2db930
2019-04-28 16:02:06 +03:00
Anna Kozlova
85fa5fa5d5
dummy constructor resolution: don't insert access object (IDEA-211203)
...
GitOrigin-RevId: 8b9184a572a263ec43e0e9c1a7d4af3b9151eb75
2019-04-28 14:58:28 +03:00
Anna Kozlova
00fbf3d133
lambda potential compatibility: don't treat array creation as void compatible
...
array creation can't be used as expression statement thus corresponding lambda body is value compatible but not void compatible
GitOrigin-RevId: b0ddccad13c8699de64c4ce3e584214fe08a2353
2019-04-28 14:57:53 +03:00
Tagir Valeev
9af3284048
StreamToLoopInspection: simplify getEffectiveQualifier usage; support unqualified Iterable.forEach, Map.forEach
...
Review ID: IDEA-CR-46452
GitOrigin-RevId: 7622f0f1274d9f23bfaef88096b3eedd2b4d18a6
2019-04-28 14:53:13 +03:00
Tagir Valeev
723c055455
FinishMarker: use the first movable value when mayNeedMarker is true (may generate shorter code)
2019-04-19 15:02:32 +07:00
Tagir Valeev
179a83f60e
TrivialFunctionalExpressionUsageInspection: support parentheses for anonymous class
2019-04-19 11:55:23 +07:00
Tagir Valeev
e13567df50
Better comment handling in ternary->if conversion & stream-to-loop
2019-04-19 11:45:55 +07:00
Tagir Valeev
9e1982a819
ExpressionUtils#getQualifierOrThis -> getEffectiveQualifier, nullable now (cannot construct this expression for outer anonymous class)
...
Fixes EA-140652 - assert: JavaParserUtil.parseFragment
2019-04-18 13:04:43 +07:00
Pavel Dolgov
2f8ed67c62
Java: Recognize @systemProperty tag in Javadoc (IDEA-210273)
2019-04-17 14:52:11 +03:00
peter
437874516c
java completion: don't consider underscore lowercase (IDEA-210869)
2019-04-15 20:05:11 +02:00
Alexey Kudravtsev
b772c5559c
move a couple tests with right dependencies to community
2019-04-15 16:54:41 +03:00
Tagir Valeev
e0d1fab43d
ConvertToSingleReturn: default return value tuned; define it always before actual conversion
2019-04-12 17:19:54 +03:00
Tagir Valeev
fbd8237916
Switch label: do not resolve unqualified enum constants referenced on the right side of arrow
...
Fixes IDEA-210771 Error message should be exposed for the new 'case' label in Java 12 in case of wrong constant usage
2019-04-12 10:56:13 +07:00
Tagir Valeev
cb2e86701d
IterableUsedAsVararg: fixes according to review IDEA-CR-45949
2019-04-10 14:49:18 +07:00
Roman.Ivanov
46ae614bd3
AddExceptionToExistingCatchClause: remove unrelated to java 6 test
2019-04-09 14:12:34 +07:00