Commit Graph
210624 Commits
Author SHA1 Message Date
Roman Shevchenko 0c60dfb4a6 [java] handling for automatic modules with invalid names (IDEA-184590)
Shows a descriptive error, doesn't suggest "add requires" quick fix, and excludes such modules from completion.
2018-01-08 18:57:45 +01:00
peter 831aa13ae4 various APIs: don't return null to avoid @Nullable being inferred if IDEA-173618 is fixed 2018-01-08 18:52:37 +01:00
peter 9c671df7d1 complete Collectors methods inside collect() call (IDEA-181449) 2018-01-08 18:52:37 +01:00
peter 9cffe95fa7 hardcode Map.remove as having unknown nullity (IDEA-CR-28277, IDEA-183875) 2018-01-08 18:52:37 +01:00
Anna.Kozlova 0d510a529b testdata for IDEA-159398 2018-01-08 18:21:19 +01:00
Anna.Kozlova 7bb6184a19 all tests passed except ignored message on root node without children (IDEA-184623) 2018-01-08 18:21:19 +01:00
Yann Cébron 0a017befcb [uast] add UCallExpressionPattern.withMethodName(String) (IDEA-CR-28149) 2018-01-08 17:12:05 +01:00
Anna.Kozlova 52bd45c9b2 reject functional expressions as conditional condition (IDEA-184667) 2018-01-08 17:05:50 +01:00
Anna.Kozlova 41ebb4f647 goto implementation: narrow scope to file for private methods()IDEA-184663 2018-01-08 17:05:50 +01:00
Anna.Kozlova be52f65e9a append reference canonical text for unresolved anonymous class type 2018-01-08 17:05:49 +01:00
Vladimir Krivosheev 6e9d1d533e shemeManager should use project config dir and not base path (required for Rider) 2018-01-08 16:42:06 +01:00
Roman Shevchenko ac6b47da9b Merge remote-tracking branch 'origin/master' 2018-01-08 16:39:52 +01:00
Roman Shevchenko a61c8ba9e8 [java] clear deletion of reference expression qualifiers (IDEA-184557) 2018-01-08 15:58:42 +01:00
Roman Shevchenko d520056593 Cleanup (formatting) 2018-01-08 13:28:00 +01:00
Tagir Valeev 29c7f8a118 Unmodifiable: added notice that third-party code cannot modify the value
Review ID: IDEA-CR-28310
2018-01-08 18:57:31 +07:00
Tagir Valeev b3a708b86e IDEA-184554 IncorrectOperationException from WrapWithAdapterMethodCallFix
Reproducible only if 'Good code is red' inspection from DevKit is switched on
2018-01-08 18:55:40 +07:00
Anna.Kozlova 81cad6fdb3 preserve comments: temp skip comments in imports 2018-01-08 12:49:16 +01:00
Roman Shevchenko aa51701517 Cleanup (javadoc) 2018-01-08 11:53:17 +01:00
sergey.vasiliev e6c696844c statistics: extentions are not allowed (any plugin could override standard statistics servic) 2018-01-08 10:48:07 +01:00
Tagir Valeev 34ae3706ab ReadOnly -> Unmodifiable; introduced UnmodifiableView distinguish between unmodifiable and unmodifiable view 2018-01-08 12:12:26 +07:00
Tagir Valeev cbf693deac ReplaceInProjectManager: typo fixed textOffset -> textEndOffset 2018-01-07 17:16:51 +07:00
Tagir Valeev 4eadf00830 CaughtExceptionImmediatelyRethrownInspection: redundant condition removed 2018-01-07 17:01:12 +07:00
Tagir Valeev fd12754e17 IDEA-184278 Track relations like "greater than", "less than" in data flow 2018-01-07 12:27:39 +07:00
Kirill Likhodedov 8dec945235 vcs tests: freeze and waitEverythingDone for all VCS tests
This is a generalization of 41f7bba, which was initially made only
for the HgTaskBranchesTest, while the issue can happen for any VCS test.
2018-01-06 20:23:24 +03:00
Tagir Valeev 9d2e6b5af7 Unnecessary null-check removed 2018-01-06 16:34:32 +07:00
Tagir Valeev 3e430524f6 PointlessNullCheckInspection: do not warn if arguments or qualifier may produce side effects 2018-01-06 16:31:07 +07:00
Tagir Valeev 09d349712d Unnecessary null-check removed 2018-01-06 16:19:53 +07:00
Tagir Valeev 5e423625d0 PrimitiveNull test 2018-01-06 15:22:37 +07:00
Tagir Valeev 87ac6da610 DfaMemoryState: abstract low-level distinct-pair operations via DistinctPairSet
myCachedDistinctClassPairs now removed as moreless efficient implementation of DistinctPairSet#contains is possible
2018-01-06 07:55:50 +07:00
Tagir Valeev 4e5f9c8793 Url#isInLocalFileSystem marked as pure 2018-01-06 07:55:49 +07:00
peter c1bd599acd mad testing: don't expect completion in regexp characters 2018-01-05 21:15:06 +01:00
peter 1e7a28353a IDEA-178428 Support unescaping JSON strings in Analyze stacktrace 2018-01-05 21:15:06 +01:00
Anna Kozlova bd49d9f065 add static import: check all expected types (IDEA-153378) 2018-01-05 20:05:51 +01:00
Anna Kozlova 3430c6e7f1 disable parameter can be local for overridden methods (IDEA-159001) 2018-01-05 20:05:50 +01:00
Anna Kozlova b11d12a7df option to ignore super qualifiers if they help to avoid ambiguity
though no ambiguity is there by jls, users may prefer to specify qualifier to help understand the code (IDEA-159680)
2018-01-05 20:05:50 +01:00
Anna Kozlova 442e7f64e2 resolve import conflict with implicit imports (IDEA-100555) 2018-01-05 20:05:50 +01:00
peter c830ef5534 IDEA-180669 Consider (very simple) instanceof conditions when inferring method NotNull 2018-01-05 18:59:41 +01:00
peter 814c5522db IDEA-123287 Multiple "Updating indices" bg tasks after external file system changes 2018-01-05 17:21:15 +01:00
peter c219d34790 run groovy compiler/debugger test in the compiler/debugger suite
and on real jdk (8 or 9 on TeamCity)
2018-01-05 17:21:14 +01:00
Anton Makeev 497aa9d9b1 'Open as File' should not open project if '.idea' already exists in the folder
ref: CPP-8067 Allow opening single files in CLion
2018-01-05 17:08:53 +01:00
Aleksey Pivovarov 4d473b09a1 diff: fix typo - do not add toolbar actions to editor menu 2018-01-05 17:47:43 +03:00
Anna Kozlova eb7cde79c7 register default assertj format (IDEA-148551) 2018-01-05 15:16:15 +01:00
Anna Kozlova 0ff8a66173 allow to configure prefix/suffix for test/implementation (IDEA-86808/IDEA-161300) 2018-01-05 15:16:15 +01:00
Dmitry Trofimov 39e3bc0c96 Fix regression (IDEA-145114) 2018-01-05 13:50:24 +01:00
Alexander Zolotov 58591b77d3 Exclude entire lib directory while packing JBRE without tools.jar on Mac
(IDEA-176641)
2018-01-05 15:31:53 +03:00
peter 0a59e9e3a3 don't let accidental PCE during <clinit> spoil code insight for the entire session (IDEA-184549) 2018-01-05 12:02:29 +01:00
Sergey Ignatov 2103e4b969 fix installers 2018-01-05 13:18:06 +03:00
peter 00752a6c67 another test for "remove unnecessary parens" around lambda 2018-01-05 08:15:55 +01:00
peter fe06edef15 correct event firing when AST has no PSI (EA-111703 - IAE: PsiChangeHandler.$$$reportNull$$$) 2018-01-04 22:49:55 +01:00
peter b4b95184c2 ensure that smart pointers to empty PSI can be restored 2018-01-04 22:49:55 +01:00