Commit Graph
588 Commits
Author SHA1 Message Date
peter 817581a5ba remove unused test data file 2016-05-24 15:21:50 +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
peter b0bfb5b5d8 java completion: prefer break/continue in likely positions inside loops (IDEA-156192) 2016-05-18 18:07:47 +02:00
peter 6b5f30f0f2 java completion: prefer return inside then/else parts of if (IDEA-156192) 2016-05-18 18:07:47 +02:00
peter e68d6eac26 IDEA-155716 Statically imported method should be higher in the completion list 2016-05-13 17:15:10 +02:00
peter d91c606bfa IDEA-155984 Completion suggests nothing if you try to complete a variable before a call 2016-05-13 16:15:16 +02:00
peter f54e06de93 IDEA-155572 Basic completion could prefer false when boolean is expected 2016-05-13 16:15:14 +02:00
peter 80ad8e9ebd IDEA-154276 Suggest method references to constructors of implementing classes when Supplier<AnAbstractClass> is expected 2016-05-02 08:58:57 +02:00
peter b7f5f72066 IDEA-154336 Missing space after completed @annotation 2016-05-02 08:58:57 +02:00
peter 905527c804 "too generic method" completion sorting criteria shouldn't be applied in void context (IDEA-154635) 2016-05-02 08:58:55 +02:00
peter 48b941daa8 IDEA-154891 IDEA adds unnecessary space/colon on switch case autocompletion 2016-04-29 22:56:20 +02:00
peter 493794856b smart enter during completion inside synchronized expression should put the caret inside the synchronized block 2016-04-29 22:56:19 +02:00
peter 5131d6fadb IDEA-155383 Auto-complete for method references should use the type where the method is declared 2016-04-29 22:56:18 +02:00
peter 0e46fda6b8 IDEA-155369 double boolean of method return type 2016-04-29 22:56:17 +02:00
peter e92ee51e76 IDEA-152354 Code completion items order should be aware of MyClass.class 2016-04-19 14:00:30 +02:00
peter f2ef7b87c1 revert inference for all type arguments for now (IDEA-153970 Code completion suggestions for SmartType are broken when used with generics) 2016-04-05 14:29:08 +02:00
peter c99918eb89 IDEA-154099 Smart completion is broken inside super call 2016-04-04 16:42:04 +02:00
Anna Kozlova 532a22e4ed testdata fixed 2016-03-24 21:28:00 +01:00
Anna.Kozlova 7712f6e443 proceed static factories instead of constructors to calculate expected types when diamonds are used (IDEA-153520) 2016-03-24 18:14:17 +01:00
peter 419770e30d IDEA-153437 Do not suggest to loop over the loop variable (and don't duplicate "new") 2016-03-24 11:54:46 +01:00
peter 80c6e1c9f4 java completion sorting: disprefer return in void lambdas (IDEA-CR-9303, IDEA-152289) 2016-03-16 11:32:51 +01:00
peter d9cbc98a49 IDEA-152289 Code completion suggests "return" as the first result in the empty constructor 2016-03-15 19:55:14 +01:00
peter 28b7c2501a IDEA-152325 Smart completion should not suggest class fields in its this/super constructor call 2016-03-15 19:55:14 +01:00
peter dd738694bd IDEA-152516 Smart completion & inner classes 2016-03-15 17:38:05 +01:00
peter 88fdd75397 java smart completion: don't suggest generic call variants with inapplicable types 2016-03-01 12:20:54 +01:00
peter 5c8fe55a54 java completion: suggest constants of all suitable types from the called method's declaring class 2016-02-29 18:23:57 +01:00
peter f567f9d2f8 IDEA-152033 Suggest current class for Class<?> parameter (for logging-related stuff) 2016-02-24 13:59:25 +01:00
peter 4017392691 fix WordCompletionTest 2016-02-16 11:24:10 +01:00
peter 258d0be564 IDEA-151552 No completion after instanceof inside lambda 2016-02-11 13:27:29 +01:00
peter 047e6d7ff2 java completion: qualify calls to outer class methods when needed (IDEA-144816, IDEA-151237) 2016-02-11 12:39:17 +01:00
peter 15a7d36b6e IDEA-151470 Autocomplete not suggesting after finally block 2016-02-11 12:18:35 +01:00
peter 5899792ff2 IDEA-96099 Smart completion fails with local inner classes 2016-01-28 16:30:05 +01:00
peter 4035b66f26 IDEA-150909 Ambiguous class static method completion has confusing behaviour 2016-01-28 16:30:03 +01:00
peter 1281cc8959 remove size() from collection.toArray() smart completion (IDEA-142273) 2016-01-20 16:47:54 +01:00
peter 2fff9c497b make smart completion work in java extends/implements clauses (IDEA-38166) 2015-12-29 18:00:59 +01:00
peter 3da865964d IDEA-148389 Smart completion inserts extra colon if existing colon is on the next line 2015-12-01 12:35:09 +01:00
peter a46935adc6 java completion: use context substitutor even for methods whose type parameters can be inferred from parameter types (IDEA-148623) 2015-11-30 16:26:38 +01:00
peter 96431dd854 IDEA-147454 Smart completion add parentheses to class declaration in throws statement 2015-11-06 16:07:41 +01:00
peter 4cac3b6b78 IDEA-147313 Adding @NotNull in front of a method parameter and finishing lookup with Space inserts 2 spaces 2015-11-04 16:51:15 +01:00
peter ba4cd74056 for java completion, choose method with most specific return type among same-signature candidates (IDEA-136174) 2015-10-26 12:39:50 +01:00
peter 1858564abc IDEA-137013 InstanceOf checking leads to appearing redundant completion item while smart double-completion 2015-10-26 12:32:21 +01:00
peter a14ad4d037 IDEA-123870 Completion does not suggest expected methods after instanceof 2015-10-26 12:32:20 +01:00
peter 1c82045b85 IDEA-95289 Completion for 'break' in labeled element 2015-10-24 23:42:28 +02:00
peter 3ed90b5c22 IDEA-130264 Completion for super methods of containing class 2015-10-24 23:42:27 +02:00
peter 6694afe5b8 prefer completion variants that have a member with the name that's to the right of the caret (IDEA-114115) 2015-10-24 23:42:27 +02:00
peter 4658e65121 IDEA-143934 Failed to complete static methods on class from excluded package 2015-10-06 18:33:47 +02:00
peter 1154b6f096 IDEA-145752 Annotation attribute value: irrelevant completion proposals for boolean attribute (basic completion) 2015-10-02 14:42:41 +02:00
peter 15369d718e IDEA-145680 Basic completion doesn't work inside method call after "<" in if condition 2015-09-29 11:07:45 +02:00
peter c57fa18eaa display type arguments in java completion suggestions (IDEA-143204) 2015-09-23 18:08:04 +02:00
peter ced18f2839 prefer expected type generics suggestions in java completion, overwrite existing type arguments (IDEA-145119) 2015-09-23 18:08:03 +02:00