Commit Graph
7722 Commits
Author SHA1 Message Date
Anna Kozlova a68cb4dfd3 disable conversion from anonymous if method has javadoc 2016-05-31 18:38:26 +03:00
Yaroslav Lepenkin eb93ea47aa removed assertion, test prettified 2016-05-31 17:05:06 +03:00
Yaroslav Lepenkin 32b3650040 Fixed EA-83158, show suites without run configuration 2016-05-31 17:05:05 +03:00
Yaroslav Lepenkin 0166710b69 added ability to add tests and suites without run configuration, more accurate namings 2016-05-31 17:05:04 +03:00
peter 79c367a470 add NameUtil.capitalizeAndUnderscore to getter/setter templates (IDEA-152774) 2016-05-31 14:06:46 +02:00
Maxim.Mossienko 9638e98265 support null project when processing refreshed file 2016-05-31 13:42:26 +02:00
Anna Kozlova 99fe682d0b Revert: overload resolution: don't prefer concrete over abstract if the signatures are not override-equivalent (2bedb80d81) 2016-05-31 11:44:10 +03:00
Anna Kozlova 86aa72abe4 preserve comments while converting from lambda to method ref (IDEA-156734) 2016-05-31 11:44:10 +03:00
peter e3fe4c4871 [java] hasModifierProperty: deduplicate and cache; change PsiAugmentProvider API while we still can 2016-05-30 22:07:52 +02:00
Yaroslav Lepenkin c648f5a53d Corrected signatures, pass indicator as constructor parameter 2016-05-30 21:08:37 +03:00
Yaroslav Lepenkin 92d635790c Fixed tests compilation, removed test delay in AbstractBlock#getSubBlocks 2016-05-30 21:08:36 +03:00
Yaroslav Lepenkin 98452b0387 Move indent detection into background 2016-05-30 21:08:35 +03:00
Anna Kozlova c831b8cd3c extract method: disable folding if array is used for writing (IDEA-156818) 2016-05-30 20:01:09 +03:00
Anna Kozlova c09e6aa438 isLocalClass should work for nested local classes (IDEA-156777) 2016-05-30 20:01:09 +03:00
Anna Kozlova 7627e03439 fixed testdata 2016-05-30 20:01:09 +03:00
Dmitry Batrak 6a1e10f932 IDEA-156629 No replacement hint for the second and further occurrence in regex replace 2016-05-30 19:13:21 +03:00
peter 2d56c8ad24 IDEA-156772 Some Live Templates lost their "applicable context" IntelliJ 2016.2 EAP 2016-05-30 15:58:43 +02:00
Alexander Zolotov 7d55ac958e Live Templates: do not wrap tests with write command 2016-05-30 15:42:11 +03:00
Anna Kozlova 2bedb80d81 overload resolution: don't prefer concrete over abstract if the signatures are not override-equivalent 2016-05-30 11:28:01 +03:00
Alexander Zolotov 3c30d8949a Live Templates: do not finish template on Esc if completion lookup is active
+ remove redundant EscapeHandler for inplace refactorings
+ finish template if completion list doesn't contain any variants
2016-05-27 20:35:32 +03:00
peter 382ff0d862 allow AST to garbage-collected when holding strong references to stub-based PSI 2016-05-27 10:20:20 +02:00
Vladislav.Soroka 966df39cae platform: RenameModuleTest added 2016-05-26 19:50:33 +03:00
Anna Kozlova 49816aeded resolve on nested captures (IDEA-156170) 2016-05-26 18:56:33 +03:00
Anna Kozlova 4585214187 add single static import: don't replace instance member calls (IDEA-153929) 2016-05-26 18:56:33 +03:00
Anna Kozlova 7ae633eb9f inline method: allow to inline vars ar parameters for negative values (IDEA-154831) 2016-05-26 18:56:33 +03:00
Roman Shevchenko 24da7ad563 [java] accepts quoted strings and HTML refs after @see tag (IDEA-156403) 2016-05-26 17:34:38 +03:00
Pavel Dolgov 94372ddd12 Java inspection: Simplify stream API call chains - error handling added, inspection description improved, tests added (IDEA-140724, IDEA-156324) 2016-05-26 16:27:17 +03:00
Anna Kozlova 137ee60763 create method from method reference: make abstract if inside interface and not static (IDEA-156596) 2016-05-25 19:37:58 +03:00
Anna Kozlova 1ca92851e8 pull up: fix search by signature in superclass (IDEA-140710) 2016-05-25 18:40:17 +03:00
Anna Kozlova 28d41e3516 surround with: adjust range if no selection is present so multi-line statement can be wrapped (IDEA-156463) 2016-05-25 18:40:17 +03:00
Anna Kozlova 7f8b5f8952 redundant cast: process branches of conditional expressions with respect to expected type for functional expressions (IDEA-156480) 2016-05-25 18:40:17 +03:00
Anna Kozlova 3e2423f245 change signature from usage: ignore types of poly expressions if they are not assignable (IDEA-156521) 2016-05-25 18:40:17 +03:00
Pavel Dolgov 0b542e981c Java inspection: Simplify stream API call chains (IDEA-140724, IDEA-156324) 2016-05-25 14:34:32 +03:00
peter c8944c9cc4 don't commit documents in TargetElementUtil called during action update via getData 2016-05-25 11:34:16 +02:00
peter 60c0c509bc IDEA-155607 Prefer classes available in the current module 2016-05-25 11:34:15 +02:00
Dennis Ushakov 997f39dc89 surrogate pairs are representable in UTF8
#WEB-21028 fixed
2016-05-24 18:34:38 +03:00
peter dc64af7f22 IDEA-156379 Suggested "collect(Collectors.toList())" ignores static Collectors import 2016-05-24 15:21:50 +02:00
peter 817581a5ba remove unused test data file 2016-05-24 15:21:50 +02:00
Alexey Kudravtsev 13c9f95b50 register Java fields referenced from injected fragments as read/written 2016-05-24 15:23:25 +03:00
Roman Shevchenko 10ed658de9 [platform] illegal character highlighting: updated message and test data (IDEA-CR-10947) 2016-05-24 12:32:39 +02:00
Anna.Kozlova 43673ee4bd block lambda -> expr lambda 2016-05-24 12:27:58 +02:00
Anna.Kozlova f6412d9de5 fix case 2016-05-24 11:35:04 +02:00
Anna Kozlova b4b39a0c30 fix tests 2016-05-24 10:09:24 +02:00
Anna.Kozlova 3fb0b045e1 field can be final: skip uninitialized fields used in class initializers (IDEA-156452) 2016-05-23 20:26:47 +02:00
peter b138fda21f store full live template context (in compact form), not the difference from default; otherwise the parts same as in default are not honored 2016-05-23 17:39:03 +02:00
peter 8692887d89 purity inference: be more careful with array assignments 2016-05-23 17:39:02 +02:00
Anna.Kozlova cd63335147 pass parameter type inference policy to produce ? extends for cases when no constraints were found during inference (IDEA-156231) 2016-05-23 16:29:23 +02:00
Anna.Kozlova 99ce4b4f46 redundant lambda code block: check applicability over replaced lambda 2016-05-23 16:29:23 +02:00
Anna.Kozlova 107abaf891 good code red: applicability check for non-generic method requires types calculation 2016-05-20 21:44:12 +02:00
Anna.Kozlova ce58f62d19 lambda.isValueCompatible should not cache inference results for calls inside lambda body as they may depend on incomplete top level inference where LambdaExpressionCompatibilityConstraint is reduced (IDEA-156311) 2016-05-20 18:52:45 +02:00