Commit Graph
564 Commits
Author SHA1 Message Date
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
peter e3657dfb11 always suggest non-imported annotations (IDEA-145447) 2015-09-23 18:08:03 +02:00
Anna Kozlova 4487019854 completion inside method call after new could use return type constrains/other variables ignoring unresolved IntellijIdeaRulezz type (IDEA-144885) 2015-09-18 14:37:16 +03:00
peter f482636569 IDEA-144532 "extends" keyword is not hinted correctly 2015-08-31 19:22:29 +02:00
peter ba960d6dda IDEA-144461 AutoCompletion doesn't insert whitespace after annotation 2015-08-28 15:13:17 +02:00
peter 77d4defe4a IDEA-144489 "Complete current statement" creates broken code - missing closing paren on method invocation 2015-08-28 15:13:17 +02:00
peter ec4b481a7e IDEA-144236 try-with-resources causes auto-complete to fail 2015-08-24 15:02:54 +02:00
peter 40ff319278 IDEA-143920 Sort symbols in completion list in "natural" order 2015-08-20 16:25:18 +02:00
peter d9a4fe148c IDEA-144146 Auto completion for 'else' inserts braces. 2015-08-20 12:19:09 +02:00
peter 159b1363c5 get rid of Java15CompletionData and Java18CompletionData 2015-08-17 10:16:48 +02:00
peter 540b538a61 java completion: rewrite throws/default keyword suggestions in methods 2015-08-17 09:28:52 +02:00
peter 2e7061420f java completion: rewrite else/catch/finally keyword suggestions, add tests 2015-08-17 09:06:23 +02:00
peter 375bdad569 fix Collections.emptyMap not being suggested in completion if jdk8 is used 2015-08-16 17:55:05 +02:00
peter 046fc164b4 infer method type arguments from context in basic completion 2015-08-16 17:55:04 +02:00
peter 16d92229b1 IDEA-143807 Incorrect smart completion inside a cast 2015-08-13 18:22:55 +02:00
peter a509139159 IDEA-143839 No smart completion in method return type 2015-08-13 18:22:54 +02:00
peter ec71fb4d28 IDEA-143786 Switch over enum completion - do not prefer just typed variants 2015-08-13 18:22:52 +02:00
peter d2056e2d52 IDEA-143075 Autocompletion not working when an inner compiled enum is named "v1" 2015-07-24 12:56:29 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
peter 3241305b74 IDEA-142746 Completion should prefer local variable, not equals() 2015-07-17 15:01:43 +02:00
peter 7194336a1f IDEA-140452 Complete-statement insert closing parenthesis at wrong place 2015-07-09 20:49:01 +02:00
Anna Kozlova 0415ca7a79 testdata fixed 2015-07-03 20:58:41 +03:00
peter 1294ec93f4 IDEA-140728 Suggest to automatically fill parameter of Stream#collect() method calls with standard Collectors instances 2015-07-03 18:25:08 +02:00
peter 209dea1eda IDEA-140731 Second invocation of Smart Type completion should suggest to convert array to Stream 2015-07-03 18:25:08 +02:00
Roman Shevchenko 200e67ca65 IDEA-106141 (trailing annotations excluded from an incomplete reference expression)
I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".
2015-07-03 16:00:02 +03:00