Commit Graph
5209 Commits
Author SHA1 Message Date
peterandintellij-monorepo-bot c9f5024a9b IDEA-205205 Import static class in java should complete with a period
GitOrigin-RevId: bea7cd80c3828de999a671b160444462e6c508a5
2019-05-20 21:16:46 +03:00
peterandintellij-monorepo-bot 30f0b0ab21 IDEA-83668 soutp live template: take arrays into consideration
GitOrigin-RevId: 354497ccd320e7716e21ecb54c8f0daebfd96e43
2019-05-20 18:10:13 +03:00
Anton Makeevandintellij-monorepo-bot a85dd1eadc Merge branch 'amakeev/gradle'
# Conflicts:
#	community/plugins/gradle/java/src/service/project/wizard/GradleModuleBuilder.java

GitOrigin-RevId: 7677c496440e29d49839174420972762c8ecc089
2019-05-17 19:14:16 +03:00
Anton Makeevandintellij-monorepo-bot c105e26db3 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
2019-05-17 19:13:15 +03:00
Anton Makeevandintellij-monorepo-bot aa103fd53c Merge branch 'master' into amakeev/gradle
# Conflicts:
#	community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java

GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeevandintellij-monorepo-bot b15255e2ad Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: 47047f22e3c91c0029882f4b648bb92aa55db3ab
2019-05-17 19:07:41 +03:00
Anton Makeevandintellij-monorepo-bot b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Dmitry Batkovichandintellij-monorepo-bot db60b80cc4 unused symbol inspection: mark method parameter used if method is used as method reference IDEA-210306
GitOrigin-RevId: 086a276669ee3dba969f8ea2334af157890594dc
2019-05-17 16:09:16 +03:00
peterandintellij-monorepo-bot 0e9086f681 java builder completion: don't disprefer methods that can be called multiple times (IDEA-CR-47127,IDEA-211080)
GitOrigin-RevId: e3be838bca3755bdb935d46c8527ea01b0dfc495
2019-05-16 16:11:45 +03:00
Anna Kozlovaandintellij-monorepo-bot 7a61cdc1b7 inference: traverse to parent to get cached target type
GitOrigin-RevId: fb048adc50d2d112b951c87c0e6cf6f5fadc66a2
2019-05-15 21:06:39 +03:00
Dmitry Batrakandintellij-monorepo-bot 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 Batrakandintellij-monorepo-bot 0f50956071 make documentation text decoration performed by DocumentationComponent visible in tests
GitOrigin-RevId: 8c42ee227b4d457e6b57fe43070aef281f922a7a
2019-05-15 12:07:20 +03:00
Anna Kozlovaandintellij-monorepo-bot f2014af32f error highlighting: fix accessibility for diamond constructors (IDEA-212188)
GitOrigin-RevId: 7193877427e50351a1171df12a431effc89b6bfd
2019-05-15 10:08:04 +03:00
peterandintellij-monorepo-bot 3fa91b09d5 java: propagate (completion) inference policy to nested sessions (IDEA-208607)
GitOrigin-RevId: 63b587a222e027c92ac3eebb1a5aeb79b669b17e
2019-05-15 00:06:43 +03:00
peterandintellij-monorepo-bot 0a8f4c0ac6 java: add smart enter for incomplete ternary operator, DRY (IDEA-70189)
GitOrigin-RevId: 0f8fa9c23efc9cf2d3be079a7e80e7cbbcdfdce9
2019-05-14 20:17:56 +03:00
Anna Kozlovaandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 6c0caa5601 overload resolution: ignore static methods from super interface (IDEA-212406)
GitOrigin-RevId: b7d5a8433fc6c96aa3d0a0208976dc9bee7cad97
2019-05-13 23:09:11 +03:00
peterandintellij-monorepo-bot 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
peterandintellij-monorepo-bot e583481074 java completion: disprefer already called builder methods (IDEA-211080)
GitOrigin-RevId: 5a579dbd900505da03b987041f58c45104997d8f
2019-05-13 20:09:00 +03:00
Anna Kozlovaandintellij-monorepo-bot e7f9f733dd inference testdata: error message should not depend on evaluation order
GitOrigin-RevId: 5de0efc888c6627537d55f7544eb5af96e716ab6
2019-05-11 00:06:26 +03:00
peterandintellij-monorepo-bot fcf2058fab IDEA-207858 Completion: default: should be indented correctly
GitOrigin-RevId: 03061981d39a54eaa807cd3bb280e028fca0e681
2019-05-08 18:03:08 +03:00
Dmitry Avdeevandintellij-monorepo-bot 83f21c7197 Merge remote-tracking branch 'origin/master'
GitOrigin-RevId: 211e84dab4063848c1d3d835a526271ee1466636
2019-05-07 17:03:19 +03:00
Dmitry Avdeevandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 0374b5f49c conditional expression: use target type for overload cases when assignable
GitOrigin-RevId: 2be5da156f1726f8536e6fc6447ae847629b0001
2019-05-06 11:04:24 +03:00
Anna Kozlovaandintellij-monorepo-bot e26bb55130 overload resolution: encapsulate overload guard checks + eliminate additional applicability predicate
GitOrigin-RevId: 41c411466ef8def32fb15535dc639a7f7dc29285
2019-05-06 11:03:23 +03:00
Aleksey Pivovarovandintellij-monorepo-bot 322db66a12 Recover after problematic merge
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
                    3f5cfd958d9b6b54393c15983ac94f519c37fe61

GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolskyandintellij-monorepo-bot 9b850726ee [uast-groovy] UInjectionHost support
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkunandintellij-monorepo-bot 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 Bushuevandintellij-monorepo-bot 34be4bbf7d Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkunandintellij-monorepo-bot 61a3e18b78 Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuevandintellij-monorepo-bot 970dc0fe32 Remove unnecessary downcasting
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkunandintellij-monorepo-bot 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 Bushuevandintellij-monorepo-bot 338ad6db56 SQL code style per dialect: UI: fix indent editor
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkunandintellij-monorepo-bot d990d75dba Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
2019-05-03 01:38:45 +03:00
Vladimir Plyashkunandintellij-monorepo-bot 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 Bushuevandintellij-monorepo-bot dc1a52762e SQL code style per dialect: UI
GitOrigin-RevId: 9b1b3e745d4c8acef5a4a1018714e004e5423519
2019-05-03 01:37:38 +03:00
Vladimir Plyashkunandintellij-monorepo-bot 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 Bushuevandintellij-monorepo-bot 9f35a30458 SQL code style per dialect: UI
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Tagir Valeevandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 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 Valeevandintellij-monorepo-bot 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 Shevchenkoandintellij-monorepo-bot 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
peterandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 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 Kozlovaandintellij-monorepo-bot 85fa5fa5d5 dummy constructor resolution: don't insert access object (IDEA-211203)
GitOrigin-RevId: 8b9184a572a263ec43e0e9c1a7d4af3b9151eb75
2019-04-28 14:58:28 +03:00
Anna Kozlovaandintellij-monorepo-bot 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 Valeevandintellij-monorepo-bot 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