Commit Graph
7219 Commits
Author SHA1 Message Date
Anna Kozlova ff21fd0ea5 calculate transitive inference variable's dependencies (IDEA-151170) 2016-02-03 16:10:26 +03:00
Yaroslav Lepenkin e915f393e8 Recent Tests: Do not show ignored tests in suites 2016-02-03 14:48:57 +03:00
Anna Kozlova e7c7fab136 stop at lambda also if it is explicitly typed
EA-78231 - SOE: InferenceSessionContainer.infer
2016-02-03 12:39:27 +03:00
Dmitry Batrak e2689cb6c6 reimplement fix 6fb3647 to account for another use case - update of folding placeholder text depending on folded text region 2016-02-02 18:00:49 +03:00
Dmitry Batrak f43d280fc0 fix tests (following commit 83b4e7e) 2016-02-02 15:40:07 +03:00
Dmitry Batrak 0a2e21407b inserting paired brace for lambda body (following IDEA-CR-8127) 2016-02-02 15:40:07 +03:00
Anna Kozlova a6625994fb overload resolution: don't skip errors from another context (IDEA-151119) 2016-02-02 14:38:40 +03:00
Dmitry Batrak 83b4e7e39b IDEA-115612 Insert pair brace before dot in Java 2016-02-02 13:39:26 +03:00
peter 473384bbf6 java 8 completion: suggest Collectors toList/toSet/toCollection in statement context 2016-02-01 18:16:21 +01:00
peter db6312e5cd allow same-named template macros for different languages (IDEA-145973) 2016-02-01 18:16:21 +01:00
Anna Kozlova 074aaaef53 redundant cast: test inference errors when applicability is checked (IDEA-151091) 2016-02-01 20:06:49 +03:00
Yaroslav Lepenkin 6a1148770d Do not show tests without locations 2016-02-01 19:17:22 +03:00
Anna Kozlova ea9e4ba63c method reference on getClass: fix method reference constraint 2016-02-01 16:53:20 +03:00
Anna Kozlova bd2113b739 lambda -> method ref: avoid Object::getClass as the type depends on qualifier (IDEA-150967) 2016-02-01 16:53:20 +03:00
Anna Kozlova 7bbd70e695 substitute with bounds promotion: don't wrap wildcards 2016-02-01 16:53:20 +03:00
Anna Kozlova e6357ca1dd method refs: fix getClass() return type in case of method references 2016-02-01 16:53:20 +03:00
Dmitry Batrak 6fb3647245 IDEA-150943 Strange code folding in a method with lambda 2016-02-01 15:55:33 +03:00
peter 9f084375d1 add live template macros: dashesToCamelCase (IDEA-135255) and lowercaseAndDash (IDEA-147176) 2016-02-01 13:17:08 +01:00
Anna Kozlova 70e66b80fb method references: remove code duplication in return type checks 2016-01-29 21:23:38 +03:00
Yaroslav Lepenkin 95898440b9 RecentTests: sorted by date inside groups 2016-01-28 20:54:16 +03:00
Yaroslav Lepenkin c2fa6e5c61 AutoFormatTypedHandler: works only for assignments operators 2016-01-28 20:54:14 +03:00
Anna Kozlova 62bdd90f58 anonym -> lambda: check inferred type in the same context (IDEA-150947) 2016-01-28 18:50:28 +03:00
peter 5899792ff2 IDEA-96099 Smart completion fails with local inner classes 2016-01-28 16:30:05 +01:00
peter 53dc1ef370 rename completion test 2016-01-28 16:30:05 +01:00
peter eca755dcbd correctType in completion (IDEA-150050) 2016-01-28 16:30:04 +01:00
peter f623ac8ede IDEA-123294 Make live templates for statement work properly inside shorten variant of lambda expression 2016-01-28 16:30:04 +01:00
peter 734d460bfd move Normal8CompletionTest to completion test package 2016-01-28 16:30:03 +01:00
peter 4035b66f26 IDEA-150909 Ambiguous class static method completion has confusing behaviour 2016-01-28 16:30:03 +01:00
Dmitry Batkovich 33a671a448 IDEA-148839 Change class signature allows to specify bound type for new type parameters 2016-01-28 16:25:50 +03:00
Anna Kozlova 5a1929cacc overload resolution: cls method text should not be called to avoid decompilation and shortening of the class references 2016-01-27 20:02:35 +03:00
Yaroslav Lepenkin b6bbfeaa9d AutoFormatTypedHandler: fixed IOOBE 2016-01-27 15:42:39 +03:00
Yaroslav Lepenkin 594398f81f Recent Tests: refactored test order calculation 2016-01-27 14:07:33 +03:00
Anna Kozlova c06f66ab26 SOE with numeric conditional expressions when expression inside is not standalone
EA-78419 - SOE: InferenceSessionContainer.infer
2016-01-27 13:57:06 +03:00
Anna Kozlova ec89fa2295 type distinction: remove non-symmetrie for type param bounds (IDEA-150724) 2016-01-27 13:57:06 +03:00
Roman Shevchenko 564c66acbf [java] skip type annotations from parameter info (IDEA-132058) 2016-01-27 12:51:21 +03:00
Roman Shevchenko 2acf8faf31 [java] .class PSI builder logging corrected (EA-78433) 2016-01-26 19:18:16 +03:00
Anna Kozlova a035c14d75 overload resolution: don't include constraints on functional expressions into applicability check during overload resolution (IDEA-150745) 2016-01-26 17:30:03 +03:00
Anna Kozlova 7c708a0eac EA-78369 - NPE: PsiDiamondTypeImpl$InferredAnonymTypeVisitor.visitClassType 2016-01-26 17:30:03 +03:00
Dmitry Batrak 3f690b6c1b rename 'move left/right' actions/handler and descriptions to match the logic better 2016-01-26 14:41:58 +03:00
Anna Kozlova a166bd1059 overload resolution: infer most specific agains formal param types substituted against site substitutor, including param bounds (IDEA-150773) 2016-01-25 18:52:15 +03:00
Anna Kozlova 7b2e554b0a inference: cache erasure flag together with partial inference (IDEA-150802) 2016-01-25 18:52:15 +03:00
Anna Kozlova 883f7f3f39 overload resolution: apply site substitution before potential compatibility check (IDEA-150807) 2016-01-25 18:52:15 +03:00
Yaroslav Lepenkin 3104c65826 disable extension 2016-01-25 17:46:29 +03:00
Yaroslav Lepenkin 7ed05e5f42 added tests on typing after single/double quote without pairing one 2016-01-25 17:46:28 +03:00
Yaroslav Lepenkin 528a24aa29 cleanify, extract methods 2016-01-25 17:46:24 +03:00
Yaroslav Lepenkin 028b678e80 Do not insert spaces inside string literals 2016-01-25 17:46:23 +03:00
Yaroslav Lepenkin b4da4605bd added test on '===' 2016-01-25 17:46:21 +03:00
Yaroslav Lepenkin f8dee2ea11 corrected tests, insert spaces after '=' only if it should be there according to settings 2016-01-25 17:46:20 +03:00
Yaroslav Lepenkin ba3f18a76c minor: do nothing if disabled 2016-01-25 17:46:19 +03:00
Yaroslav Lepenkin e32e78766a Add space only before '=' 2016-01-25 17:46:17 +03:00