Commit Graph

2159 Commits

Author SHA1 Message Date
Andrey Starovoyt 2b128bf30d postfix template: EA-59129 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2014-08-05 16:55:44 +04:00
Anna Kozlova 28569c671e new inference: highlighting for contradictory inferred intersection types; sequential same method calls context (IDEA-128101) 2014-08-05 11:59:06 +02:00
Anna Kozlova 438e9160a0 overload resolution: force substitutor calculation (IDEA-128174) 2014-08-05 11:59:02 +02:00
Anna Kozlova 457091952f effectively final check (IDEA-128196) 2014-08-04 15:08:27 +02:00
peter e4df02442d IDEA-127637 code completion utility should strip 'extends' wildcards from generic qualifiers of generated anonymous classes 2014-07-29 08:41:03 +02:00
peter 7594dc6033 IDEA-127668 Smart type completion prefers constants to fields, normal completion prefers fields to constants 2014-07-28 10:15:16 +02:00
peter a24e62f28d IDEA-127512 Ctrl+Shift+Enter produces invalid code for catch statements 2014-07-28 10:15:15 +02:00
Dmitry Batrak 65404f7c75 IDEA-123396 Multiple carets: offer completion from other caret, if primary caret has no completion variants 2014-07-24 12:50:28 +04:00
Anna Kozlova 4a6095476f EA-57951 - AIOOBE: AnonymousCanBeLambdaInspection.getInferredType
anonymous -> lambda on varargs place
2014-07-23 20:57:31 +02:00
Anna Kozlova 502a3e9a65 new inference: check also variable instantiation for primitive wrappers (IDEA-127752) 2014-07-23 19:19:13 +02:00
Anna Kozlova 24be503eb2 new inference: missed condition in conditional expression (IDEA-127752) 2014-07-23 19:19:12 +02:00
Dmitry Batrak 1d198e18bb IDEA-127695 Formatting is breaking on typing 2014-07-23 20:10:16 +04:00
Anna Kozlova 381c7fc817 ensure type parameters contain fully qualified names (IDEA-127714) 2014-07-23 17:53:18 +02:00
Alexey Kudravtsev 1b9ba31da8 cast from Short to char is prohibited 2014-07-23 13:35:58 +04:00
Anna Kozlova e9a17dfad8 field can be local: when field is used in method for read it can't be converted to local if used in another methods (IDEA-127159) 2014-07-22 20:37:38 +02:00
peter 0299b302c6 auto-import context variable declaration type when completing (IDEA-90157) 2014-07-22 18:26:56 +02:00
peter f81e96ef9d java chained completion: qualifier class items shouldn't be inserted as constructors 2014-07-22 18:26:55 +02:00
Anna Kozlova 9cce5c76b7 do not split annotations on multiple lines for params (IDEA-127017) 2014-07-22 17:08:03 +02:00
Anna Kozlova bacc3c2ad6 lambda -> method refs: collapse when acceptable method without supers found 2014-07-21 20:47:52 +02:00
Anna Kozlova 4b7122b83d shorten FQNs when insert casts (IDEA-127573) 2014-07-21 19:19:15 +02:00
Anna Kozlova 91f505e2f7 create static method from usage in interface (IDEA-127563) 2014-07-21 19:19:14 +02:00
Anna Kozlova 824f4329b2 workaround for <p/> inside <pre> in javadoc preview in JEditorPane (IDEA-127430) 2014-07-21 17:56:23 +02:00
Anna Kozlova a46f4cef52 anonym -> lambda: disable in case when inferred type differs from type of anonymous class and parameter of param type is used inside (IDEA-127603);
BTW param.toString would be also rejected
2014-07-21 17:56:21 +02:00
Anna Kozlova 89dc528242 new inference: no substitution during most specific inference by means of new spec (IDEA-127584) 2014-07-21 17:56:20 +02:00
Roman Shevchenko 322e539fc5 IDEA-127077 (highlighting test) 2014-07-21 16:08:23 +02:00
Anna Kozlova 9b4912c5a0 lambda: do not start inference from void type (IDEA-127596) 2014-07-21 12:12:28 +02:00
Anna Kozlova 067ef9e309 method refs: check first parameter if it could be a receiver for varargs methods (IDEA-127506) 2014-07-18 18:19:20 +02:00
Andrey Starovoyt 6bf1409b85 postfix template fix ternary operator + test 2014-07-18 19:48:54 +04:00
Alexey Kudravtsev 0a6a37496e Reverted: cast from Short to char is prohibited (1c5a03589e) 2014-07-18 17:21:10 +04:00
Alexey Kudravtsev 1c5a03589e cast from Short to char is prohibited 2014-07-18 14:58:43 +04:00
Anna Kozlova 7d19e0e85e method refs: missed super class substitution (IDEA-126969) 2014-07-18 10:34:55 +02:00
peter f4d3703103 IDEA-126531 Completion inserts unwanted semicolon 2014-07-18 09:14:07 +02:00
Anna Kozlova 590ed4cc23 disable create instance field inside interface (IDEA-127211) 2014-07-14 20:58:24 +02:00
peter fbb28259a1 ignore inferred annotation in @NotNull propagation to overridden methods 2014-07-10 10:35:56 +02:00
peter 1b75318697 adapt testdata to inferred jdk annotations 2014-07-10 10:35:56 +02:00
Dmitry Batrak 1b1a23a9e9 IDEA-120465 Code completion: no Autopopup code completion and inserting pair brackets if Column selection mode is on
added tests
2014-07-09 14:52:39 +04:00
peter e3fd6eb900 don't add a newline when completing with smart enter shortcut (IDEA-126726) 2014-07-08 18:40:07 +02:00
peter 02fdc91a10 IDEA-126726 "Complete current statement" always adds a newline
* rollback the fix for IDEA-119926
2014-07-08 13:13:51 +02:00
peter fc5eb4a317 MinusculeMatcher: pay less attention to case mismatches in non-completion contexts (IDEA-119877) 2014-07-07 12:23:10 +02:00
Anna Kozlova 04d81c718c type distinct prover for object/type parameter wildcard fixed IDEA-124363 2014-07-02 21:25:09 +02:00
Anna Kozlova 496fb918b8 testdata for IDEA-126809 2014-07-02 16:35:25 +02:00
Anna Kozlova 53cf6f6905 wording: warn about self references instead of "forward" ones 2014-07-02 12:26:17 +02:00
Anna Kozlova 1f8864bfa9 anonym -> lambda: forbid when result in illegal self reference (IDEA-126763) 2014-07-02 12:26:16 +02:00
Alexey Kudravtsev 48bfcde50a IDEA-126171 2014-07-02 13:29:29 +04:00
Anna Kozlova b524d609c1 lambda -> method ref: forbid inside anonymous; qualify this (IDEA-126750) 2014-07-02 11:00:55 +02:00
Anna Kozlova 60c18e802f simplified testdata 2014-07-02 11:00:54 +02:00
Anna Kozlova d1cf801bc7 testdata for IDEA-126109 2014-07-01 15:50:08 +02:00
peter 4c7eca5839 IDEA-126595 provide completion variants for Charset.forName() 2014-06-30 21:59:56 +02:00
Anna Kozlova fca471c397 conditional expression: ensure return type is primitive short in case of short/byte branches (IDEA-126697) 2014-06-30 14:03:38 +02:00
Anna Kozlova 489563106d provably distinct: continue to compare for nested levels (IDEA-126633) 2014-06-27 18:31:55 +02:00